diff options
Diffstat (limited to 'lib/sqlalchemy/testing/plugin')
| -rw-r--r-- | lib/sqlalchemy/testing/plugin/pytestplugin.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sqlalchemy/testing/plugin/pytestplugin.py b/lib/sqlalchemy/testing/plugin/pytestplugin.py index 0a70f4008..d590ecbe4 100644 --- a/lib/sqlalchemy/testing/plugin/pytestplugin.py +++ b/lib/sqlalchemy/testing/plugin/pytestplugin.py @@ -49,7 +49,7 @@ def pytest_addoption(parser): required=False, help=None, # noqa ): - super(CallableAction, self).__init__( + super().__init__( option_strings=option_strings, dest=dest, nargs=0, @@ -210,7 +210,7 @@ def pytest_collection_modifyitems(session, config, items): and not item.getparent(pytest.Class).name.startswith("_") ] - test_classes = set(item.getparent(pytest.Class) for item in items) + test_classes = {item.getparent(pytest.Class) for item in items} def collect(element): for inst_or_fn in element.collect(): |
