mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-09 23:34:45 +08:00
Fix pytest issues with this branch
This commit is contained in:
@@ -4,10 +4,10 @@ import pytest
|
||||
|
||||
|
||||
@pytest.mark.parametrize('source', [
|
||||
'1 == 1',
|
||||
'1.0 == 1',
|
||||
pytest.param('1 == 1'),
|
||||
pytest.param('1.0 == 1'),
|
||||
# Unfortunately for now not possible, because it's a typeshed object.
|
||||
pytest.mark.xfail('... == ...')
|
||||
pytest.param('... == ...', marks=pytest.mark.xfail),
|
||||
])
|
||||
def test_equals(Script, environment, source):
|
||||
if environment.version_info.major < 3:
|
||||
|
||||
Reference in New Issue
Block a user