Shut flake8 up

This commit is contained in:
Paul Moore 2018-07-30 14:39:58 +01:00
parent 65d5b47434
commit 7be0c888df
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ def tmpdir(tmpdir):
# Clear out the temporary directory after the test has finished using it.
# This should prevent us from needing a multiple gigabyte temporary
# directory while running the tests.
if not 'PIPTEST_KEEP_TMPDIR' in os.environ:
if 'PIPTEST_KEEP_TMPDIR' not in os.environ:
tmpdir.remove(ignore_errors=True)