Revision: 9020b73ef5d0
Branch:   default
Author:   Jussi Malinen <jussi.ao.mali...@gmail.com>
Date:     Fri Nov 22 12:50:00 2013 UTC
Log:      fix utests on windows python 2.5
http://code.google.com/p/robotframework/source/detail?r=9020b73ef5d0

Modified:
 /utest/utils/test_encodingsniffer.py

=======================================
--- /utest/utils/test_encodingsniffer.py        Sun Nov 17 08:20:31 2013 UTC
+++ /utest/utils/test_encodingsniffer.py        Fri Nov 22 12:50:00 2013 UTC
@@ -6,8 +6,10 @@
 from robot.utils.asserts import assert_equals, assert_not_none


-ON_BUGGY_JYTHON = os.sep == '\\' and (sys.platform.startswith('java1.5') or
-                                      sys.version_info < (2, 5, 2))
+ON_BUGGY_JYTHON = (sys.platform.startswith('java') and
+                   os.sep == '\\' and
+                   (sys.platform.startswith('java1.5') or
+                    sys.version_info < (2, 5, 2)))


 class StreamStub(object):

--

--- You received this message because you are subscribed to the Google Groups "robotframework-commit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to robotframework-commit+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to