create a more specific test for #396, which is again a fast parser issue

This commit is contained in:
Dave Halter
2014-05-04 15:53:53 +02:00
parent 672594514e
commit 16fd7f5424
2 changed files with 20 additions and 2 deletions

View File

@@ -231,9 +231,8 @@ def test_completion_interference():
"""Seems to cause problems, see also #396."""
cache.parser_cache.pop(None, None)
assert Script('open(').call_signatures()
assert Script('open(').call_signatures()
# complete something usual, before doing the same call_signatures again.
assert Script('from os import ').completions()
assert Script('from datetime import ').completions()
assert Script('open(').call_signatures()