Fix namedtuples and reactivate tests for Python 2

This commit is contained in:
Dave Halter committed 2018-12-09 12:41:58 +01:00
1 parent 0c37256050
commit ae1f5fa511
2 files changed
+2 -9

No files matched your search

+2 -1
View File
@@ -32,7 +32,8 @@ from jedi.evaluate.syntax_tree import is_string
# Copied from Python 3.6's stdlib.
_NAMEDTUPLE_CLASS_TEMPLATE = """\
from builtins import property as _property, tuple as _tuple
_property = property
_tuple = tuple
from operator import itemgetter as _itemgetter
from collections import OrderedDict