mirror of
https://github.com/davidhalter/jedi.git
synced 2026-05-17 22:09:37 +08:00
Avoid a print in tests
This commit is contained in:
@@ -19,7 +19,7 @@ def test_on_code():
|
|||||||
|
|
||||||
|
|
||||||
@pytest.mark.skipif('sys.version_info < (3,5)')
|
@pytest.mark.skipif('sys.version_info < (3,5)')
|
||||||
def test_generics():
|
def test_generics_without_definition():
|
||||||
# Used to raise a recursion error
|
# Used to raise a recursion error
|
||||||
T = TypeVar('T')
|
T = TypeVar('T')
|
||||||
|
|
||||||
@@ -40,7 +40,7 @@ def test_generics():
|
|||||||
self.stack.push(1)
|
self.stack.push(1)
|
||||||
|
|
||||||
s = StackWrapper()
|
s = StackWrapper()
|
||||||
print(interpreter('s.stack.pop().', locals()).complete())
|
assert not interpreter('s.stack.pop().', locals()).complete()
|
||||||
|
|
||||||
|
|
||||||
def test_mixed_module_cache():
|
def test_mixed_module_cache():
|
||||||
|
|||||||
Reference in New Issue
Block a user