Author: jprantan
Date: Thu Apr  9 05:13:34 2009
New Revision: 1775

Modified:
   trunk/utest/output/test_listeners.py

Log:
Fixed to work also in Windows.

Modified: trunk/utest/output/test_listeners.py
==============================================================================
--- trunk/utest/output/test_listeners.py        (original)
+++ trunk/utest/output/test_listeners.py        Thu Apr  9 05:13:34 2009
@@ -169,10 +169,10 @@
         self.listeners.close()
         self._assert_output('Closing...')

-    def _assert_output(self, excpeted):
+    def _assert_output(self, expected):
         stdout, stderr = utils.release_output()
         assert_equals(stderr, '')
-        assert_equals(stdout, '%s\n' % excpeted)
+        assert_equals(stdout.rstrip(), expected)


 class TestOldStyleListeners(_BaseListenerTest, unittest.TestCase):

Reply via email to