diff options
author | Andras Tim <andras.tim@gmail.com> | 2017-07-17 01:25:09 +0200 |
---|---|---|
committer | Andras Tim <andras.tim@gmail.com> | 2017-07-17 01:44:22 +0200 |
commit | c9a081d1a3344787bb30f9526036922fd7fcad1d (patch) | |
tree | 66f1d509651b67a800dea077041eb753aabad005 /testing/test_conftest.py | |
parent | 195a81652239142f715d8d765b83429240e19c70 (diff) | |
download | pytest-c9a081d1a3344787bb30f9526036922fd7fcad1d.tar.gz |
Fixed E271 flake8 errors
multiple spaces after keyword
Diffstat (limited to 'testing/test_conftest.py')
-rw-r--r-- | testing/test_conftest.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/testing/test_conftest.py b/testing/test_conftest.py index e7034179f..bbb5bd496 100644 --- a/testing/test_conftest.py +++ b/testing/test_conftest.py @@ -65,7 +65,7 @@ class TestConftestValueAccessGlobal(object): startdir.ensure("xx", dir=True) conftest = ConftestWithSetinitial(startdir) mod, value = conftest._rget_with_confmod("a", startdir) - assert value == 1.5 + assert value == 1.5 path = py.path.local(mod.__file__) assert path.dirpath() == basedir.join("adir", "b") assert path.purebasename.startswith("conftest") @@ -151,10 +151,10 @@ def test_setinitial_conftest_subdirs(testdir, name): conftest = PytestPluginManager() conftest_setinitial(conftest, [sub.dirpath()], confcutdir=testdir.tmpdir) if name not in ('whatever', '.dotdir'): - assert subconftest in conftest._conftestpath2mod + assert subconftest in conftest._conftestpath2mod assert len(conftest._conftestpath2mod) == 1 else: - assert subconftest not in conftest._conftestpath2mod + assert subconftest not in conftest._conftestpath2mod assert len(conftest._conftestpath2mod) == 0 def test_conftest_confcutdir(testdir): |