Skip to content

Add mypy.test.config.ALLOW_FIXTURES - #3112

Closed
pkch wants to merge 4 commits into
python:masterfrom
pkch:test-fixtures
Closed

pkch wants to merge 4 commits into
python:masterfrom
pkch:test-fixtures

Conversation

@pkch

@pkch pkch commented Apr 2, 2017 •

Copy link
Copy Markdown
Contributor

This is related to #3111.

It provides a very crude way to disable builtins fixtures: manually change ALLOW_FIXTURES = True to ALLOW_FIXTURES = False in mypy/test/config.py before running either pytest or python runtests.py.

Note that you cannot do it dynamically, only by opening, editing, and saving the file.

@pkch

pkch commented Apr 2, 2017 •

Copy link
Copy Markdown
Contributor Author

Very strange, why does Travis with python 3.5 complains ImportError: No module named 'mypy.test', but AppVeyor with the same version doesn't?

@pkch
pkch force-pushed the test-fixtures branch 2 times, most recently from af29703 to d85877b Compare April 18, 2017 08:58
@pkch

pkch commented Apr 20, 2017

Copy link
Copy Markdown
Contributor Author

Closed in favor #3189

@pkch pkch closed this Apr 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant