mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-26 01:47:22 +08:00
Fix pytest issues with this branch
This commit is contained in:
1 parent
3ec78ba6c9
commit
dc77c12e83
2 files changed
+4
-4
No files matched your search
@@ -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