Grammar modifications so that the Python2.7 grammar looks more like the Python 3.4 grammar.

This commit is contained in:
Dave Halter
2015-01-13 01:05:13 +01:00
parent 09da6ec0d3
commit cc64265187
4 changed files with 11 additions and 8 deletions

View File

@@ -152,6 +152,6 @@ def test_error_correction_with():
try:
f."""
comps = jedi.Script(source).completions()
assert len(comps) > 40
assert len(comps) > 30
# `open` completions have a closed attribute.
assert [1 for c in comps if c.name == 'closed']