mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-06 22:14:27 +08:00
Avoid more Python 2
This commit is contained in:
@@ -466,6 +466,7 @@ def test__wrapped__():
|
|||||||
assert c.line == syslogs_to_df.__wrapped__.__code__.co_firstlineno + 1
|
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'])
|
@pytest.mark.parametrize('module_name', ['sys', 'time', 'unittest.mock'])
|
||||||
def test_core_module_completes(module_name):
|
def test_core_module_completes(module_name):
|
||||||
module = import_module(module_name)
|
module = import_module(module_name)
|
||||||
|
|||||||
Reference in New Issue
Block a user