the statement 'a=b=c' returned 'b' only and ignored 'a' - fixes #45

This commit is contained in:
David Halter
2012-11-07 17:54:45 +01:00
parent 0de5793187
commit dbb36fd9fb
2 changed files with 2 additions and 1 deletions

View File

@@ -207,6 +207,7 @@ class TestRegression(Base):
assert len(self.complete(s))
def test_os_nowait(self):
""" github issue #45 """
s = self.complete("import os; os.P_")
assert 'P_NOWAIT' in [i.word for i in s]