mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-07 22:44:27 +08:00
Replace the threading.Thread tests in docstrings with random.Random tests, because that might work smother in the travis tests. Don't know why it broke there.
This commit is contained in:
@@ -51,11 +51,11 @@ class TestDocstring(unittest.TestCase):
|
||||
s = """
|
||||
def func(arg):
|
||||
'''
|
||||
:type arg: threading.Thread
|
||||
:type arg: random.Random
|
||||
'''
|
||||
arg."""
|
||||
names = [c.name for c in jedi.Script(s).completions()]
|
||||
assert 'start' in names
|
||||
assert 'seed' in names
|
||||
|
||||
def test_docstrings_param_type(self):
|
||||
s = """
|
||||
|
||||
Reference in New Issue
Block a user