Skip to content

Add mypy.test.config.ALLOW_FIXTURES #3112

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 4 commits into from
Closed

Conversation

pkch
Copy link
Contributor

@pkch pkch commented Apr 2, 2017

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
Copy link
Contributor Author

pkch commented Apr 2, 2017

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
Copy link
Contributor Author

pkch commented Apr 20, 2017

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