Avoid more Python 2

This commit is contained in:
Dave Halter
2019-12-05 17:44:47 +01:00
parent 54f4bd0bad
commit 7e64bfa075

View File

@@ -466,6 +466,7 @@ def test__wrapped__():
assert c.line == syslogs_to_df.__wrapped__.__code__.co_firstlineno + 1
@pytest.mark.skipif(sys.version_info[0] == 2, reason="Ignore Python 2, because EOL")
@pytest.mark.parametrize('module_name', ['sys', 'time', 'unittest.mock'])
def test_core_module_completes(module_name):
module = import_module(module_name)