Kaydet (Commit) dcad046d authored tarafından R. David Murray's avatar R. David Murray

Adjust test_asyncore to account for intentional asyncore behavior change

introduced by r70934 that was causing a test failure when run under -O.
üst 8c023248
......@@ -272,10 +272,7 @@ class DispatcherTests(unittest.TestCase):
sys.stdout = stdout
lines = fp.getvalue().splitlines()
if __debug__:
expected = ['EGGS: %s' % l1, 'info: %s' % l2, 'SPAM: %s' % l3]
else:
expected = ['EGGS: %s' % l1, 'SPAM: %s' % l3]
self.assertEquals(lines, expected)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment