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:
Dave Halter
2015-04-09 16:17:16 +02:00
parent 1195ed64ea
commit a9d3df9b5e
2 changed files with 14 additions and 14 deletions

View File

@@ -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 = """