Use the parser to check for certain namedtuple features
This fixes tests that are used with python 2 but a different environment
This commit is contained in:
1 parent
4514373de6
commit
b716fb7dc6
2 files changed
+13
-8
No files matched your search
@@ -12,7 +12,6 @@ This module also supports import autocompletion, which means to complete
|
||||
statements like ``from datetim`` (curser at the end would return ``datetime``).
|
||||
"""
|
||||
import os
|
||||
import sys
|
||||
|
||||
from parso.python import tree
|
||||
from parso.tree import search_ancestor
|
||||
|
||||
Reference in new issue
Block a user