mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-08 14:54:47 +08:00
Remove a lot of sys.version_info references
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
import sys
|
||||
from textwrap import dedent
|
||||
import inspect
|
||||
from unittest import TestCase
|
||||
@@ -515,7 +514,6 @@ def test_signature_index(skip_python2, Script, environment, code, call, expected
|
||||
assert expected_index == index
|
||||
|
||||
|
||||
@pytest.mark.skipif(sys.version_info[0] == 2, reason="Python 2 doesn't support __signature__")
|
||||
@pytest.mark.parametrize('code', ['foo', 'instance.foo'])
|
||||
def test_arg_defaults(Script, environment, code):
|
||||
def foo(arg="bla", arg1=1):
|
||||
|
||||
Reference in New Issue
Block a user