mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-11 08:11:50 +08:00
Regression test for os.P_NOWAIT completion
This commit is contained in:
@@ -197,6 +197,10 @@ class TestRegression(Base):
|
|||||||
assert len(api.Script(s, 1, 15, '/').get_definition()) == 1
|
assert len(api.Script(s, 1, 15, '/').get_definition()) == 1
|
||||||
assert len(api.Script(s, 1, 10, '/').get_definition()) == 1
|
assert len(api.Script(s, 1, 10, '/').get_definition()) == 1
|
||||||
|
|
||||||
|
def test_os_nowait(self):
|
||||||
|
s = self.complete("import os; os.P_")
|
||||||
|
assert 'P_NOWAIT' in [i.word for i in s]
|
||||||
|
|
||||||
|
|
||||||
class TestSpeed(Base):
|
class TestSpeed(Base):
|
||||||
def _check_speed(time_per_run, number=10):
|
def _check_speed(time_per_run, number=10):
|
||||||
|
|||||||
Reference in New Issue
Block a user