Rev 4810: It helps if you get the platform check right. in http://bazaar.launchpad.net/~jameinel/bzr/2.1.0b4-win32-accepted
John Arbash Meinel
john at arbash-meinel.com
Wed Nov 18 15:50:02 GMT 2009
At http://bazaar.launchpad.net/~jameinel/bzr/2.1.0b4-win32-accepted
------------------------------------------------------------
revno: 4810
revision-id: john at arbash-meinel.com-20091118154955-rkx53mni9jwh6kxx
parent: john at arbash-meinel.com-20091118154716-meiszr5ej7ohas3v
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: 2.1.0b4-win32-accepted
timestamp: Wed 2009-11-18 09:49:55 -0600
message:
It helps if you get the platform check right.
-------------- next part --------------
=== modified file 'bzrlib/tests/__init__.py'
--- a/bzrlib/tests/__init__.py 2009-11-18 15:47:16 +0000
+++ b/bzrlib/tests/__init__.py 2009-11-18 15:49:55 +0000
@@ -1121,7 +1121,7 @@
'st_mtime did not match')
self.assertEqual(expected.st_ctime, actual.st_ctime,
'st_ctime did not match')
- if sys.platform == 'win32':
+ if sys.platform != 'win32':
# On Win32 both 'dev' and 'ino' cannot be trusted. In python2.4 it
# is 'dev' that varies, in python 2.5 (6?) it is st_ino that is
# odd. Regardless we shouldn't actually try to assert anything
More information about the bazaar-commits
mailing list