[Zope3-checkins] SVN: Zope3/trunk/src/zope/component/tests.py Try
to get Windows to be happy with this test.
Gary Poster
gary at zope.com
Fri Aug 4 00:33:32 EDT 2006
Log message for revision 69348:
Try to get Windows to be happy with this test.
Changed:
U Zope3/trunk/src/zope/component/tests.py
-=-
Modified: Zope3/trunk/src/zope/component/tests.py
===================================================================
--- Zope3/trunk/src/zope/component/tests.py 2006-08-04 03:35:21 UTC (rev 69347)
+++ Zope3/trunk/src/zope/component/tests.py 2006-08-04 04:33:32 UTC (rev 69348)
@@ -942,8 +942,13 @@
t.seek(0)
lines = t.readlines()
t.close()
- if lines[-1][-3:-1] != 'OK':
- self.fail(''.join(lines))
+ for l in reversed(lines):
+ l = l.strip()
+ if l:
+ if not l.endswith('OK'):
+ self.fail(''.join(lines))
+ else:
+ break
def tearDownRegistryTests(tests):
import zope.event
More information about the Zope3-Checkins
mailing list