Fix a small issue that coul dhappen e.g. in stdin.

This commit is contained in:
Dave Halter
2016-07-06 08:05:50 +02:00
parent 24cddda8e7
commit 074a154af3
2 changed files with 4 additions and 2 deletions

View File

@@ -1,11 +1,11 @@
# -*- coding: utf-8 -*-
import sys
from textwrap import dedent
import jedi
from jedi._compatibility import u, is_py3
from jedi.parser import ParserWithRecovery, load_grammar
from jedi.parser import tree as pt
from textwrap import dedent
def test_user_statement_on_import():