Skip to content

Commit

Permalink
Changed jedi completion test script to be an explicit script
Browse files Browse the repository at this point in the history
  • Loading branch information
jmfrank63 committed Sep 7, 2018
1 parent 79e177e commit fe82149
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trio/tests/test_exports.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def test_pylint_sees_all_non_underscore_symbols_in_namespace():
def test_jedi_sees_all_completions():
# Test the jedi completion library get all in dir(trio)
try:
script = jedi.Script(path=trio.__file__)
script = jedi.Script("import trio; trio.")
completions = script.completions()
trio_set = set([symbol for symbol in dir(trio) if symbol[:2] != '__'])
jedi_set = set([cmp.name for cmp in completions])
Expand Down

0 comments on commit fe82149

Please sign in to comment.