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 | 195a81652239142f715d8d765b83429240e19c70 (patch) | |
tree | 2b38883999821c73d6213dbdcff37dda55d970a7 /testing/test_pluginmanager.py | |
parent | eae8b41b07013744774909beeb7bcf7ef40c6961 (diff) | |
download | pytest-195a81652239142f715d8d765b83429240e19c70.tar.gz |
Fixed E265 flake8 errors
block comment should start with ‘# ‘
Diffstat (limited to 'testing/test_pluginmanager.py')
-rw-r--r-- | testing/test_pluginmanager.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/testing/test_pluginmanager.py b/testing/test_pluginmanager.py index 6428bf9d9..d1e1ff2de 100644 --- a/testing/test_pluginmanager.py +++ b/testing/test_pluginmanager.py @@ -31,7 +31,7 @@ class TestPytestPluginInteractions(object): pm.hook.pytest_addhooks.call_historic( kwargs=dict(pluginmanager=config.pluginmanager)) config.pluginmanager._importconftest(conf) - #print(config.pluginmanager.get_plugins()) + # print(config.pluginmanager.get_plugins()) res = config.hook.pytest_myhook(xyz=10) assert res == [11] @@ -232,7 +232,7 @@ class TestPytestPluginManager(object): assert mod in l pytest.raises(ValueError, "pm.register(mod)") pytest.raises(ValueError, lambda: pm.register(mod)) - #assert not pm.is_registered(mod2) + # assert not pm.is_registered(mod2) assert pm.get_plugins() == l def test_canonical_import(self, monkeypatch): @@ -259,7 +259,7 @@ class TestPytestPluginManager(object): mod.pytest_plugins = "pytest_a" aplugin = testdir.makepyfile(pytest_a="#") reprec = testdir.make_hook_recorder(pytestpm) - #syspath.prepend(aplugin.dirpath()) + # syspath.prepend(aplugin.dirpath()) py.std.sys.path.insert(0, str(aplugin.dirpath())) pytestpm.consider_module(mod) call = reprec.getcall(pytestpm.hook.pytest_plugin_registered.name) |