1
0
forked from VimPlug/jedi

Avoid a print in tests

This commit is contained in:
Dave Halter
2020-01-24 22:11:48 +01:00
parent 7683c05de3
commit 066b8b7165

View File

@@ -19,7 +19,7 @@ def test_on_code():
@pytest.mark.skipif('sys.version_info < (3,5)')
def test_generics():
def test_generics_without_definition():
# Used to raise a recursion error
T = TypeVar('T')
@@ -40,7 +40,7 @@ def test_generics():
self.stack.push(1)
s = StackWrapper()
print(interpreter('s.stack.pop().', locals()).complete())
assert not interpreter('s.stack.pop().', locals()).complete()
def test_mixed_module_cache():