diff options
author | Bruno Oliveira <nicoddemus@gmail.com> | 2018-11-07 18:32:23 -0200 |
---|---|---|
committer | Bruno Oliveira <nicoddemus@gmail.com> | 2018-11-07 18:32:23 -0200 |
commit | 17b8e2d45b0e7fefdd07487391ddef6795ce4a12 (patch) | |
tree | 84a9560e3cbf0ccb6e0e6f439a6224ac74a448e2 | |
parent | 9a884f1ccb11c332cf57427c67476bc5f2ef66e4 (diff) | |
download | pytest-17b8e2d45b0e7fefdd07487391ddef6795ce4a12.tar.gz |
Fix linting
-rw-r--r-- | testing/test_pluginmanager.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/testing/test_pluginmanager.py b/testing/test_pluginmanager.py index 81a3a291e..8e35290b7 100644 --- a/testing/test_pluginmanager.py +++ b/testing/test_pluginmanager.py @@ -380,11 +380,13 @@ class TestPytestPluginManagerBootstrapming(object): pytestpm.consider_preparse(["xyz", "-p", "no:abc"]) l2 = pytestpm.get_plugins() assert 42 not in l2 - - def test_plugin_prevent_register_stepwise_on_cacheprovider_unregister(self, pytestpm): + + def test_plugin_prevent_register_stepwise_on_cacheprovider_unregister( + self, pytestpm + ): """ From PR #4304 : The only way to unregister a module is documented at the end of https://docs.pytest.org/en/latest/plugins.html. - + When unregister cacheprovider, then unregister stepwise too """ pytestpm.register(42, name="cacheprovider") @@ -396,4 +398,3 @@ class TestPytestPluginManagerBootstrapming(object): l2 = pytestpm.get_plugins() assert 42 not in l2 assert 43 not in l2 - |