Commit e939c710 authored by Stefan Behnel's avatar Stefan Behnel

disable global variables test in old jedi versions

parent a3b3b660
......@@ -58,6 +58,9 @@ class TestJediTyper(TransformTest):
a = i + 1
'''
types = self._test(code)
if not types:
# old Jedi version
return
self.assertIn((None, (1, 0)), types)
variables = types.pop((None, (1, 0)))
self.assertFalse(types)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment