mirror of
https://github.com/davidhalter/jedi.git
synced 2026-11-01 18:42:17 +08:00
Fix namedtuples and reactivate tests for Python 2
This commit is contained in:
1 parent
0c37256050
commit
ae1f5fa511
2 files changed
+2
-9
No files matched your search
@@ -7,14 +7,6 @@ from textwrap import dedent
|
||||
import pytest
|
||||
|
||||
|
||||
# The namedtuple is different for different Python2.7 versions. Some versions
|
||||
# are missing the attribute `_class_template`.
|
||||
@pytest.fixture(autouse=True)
|
||||
def skipping(environment):
|
||||
if environment.version_info.major < 3:
|
||||
pytest.skip()
|
||||
|
||||
|
||||
@pytest.mark.parametrize(['letter', 'expected'], [
|
||||
('n', ['name']),
|
||||
('s', ['smart']),
|
||||
|
||||
Reference in new issue
Block a user