Revision: d0441e6ff532
Author:   Pekka Klärck
Date:     Tue Jan 17 07:03:45 2012
Log:      possible workaround for weird jython unit test failure on ci
http://code.google.com/p/robotframework/source/detail?r=d0441e6ff532

Modified:
 /utest/utils/test_htmlwriter.py

=======================================
--- /utest/utils/test_htmlwriter.py     Tue Jan 17 06:31:10 2012
+++ /utest/utils/test_htmlwriter.py     Tue Jan 17 07:03:45 2012
@@ -123,8 +123,8 @@

     def _verify(self, expected):
         actual = self.output.getvalue()
-        expected = expected.replace('\n', os.linesep)
-        assert_equals(repr(actual), repr(expected))
+        if '\n' in expected:
+            expected = expected.replace('\n', os.linesep)
         assert_equals(actual, expected)


Reply via email to