[CMF-checkins] CVS: Products/CMFCore/tests/base - testcase.py:1.10
Grégoire Weber
zope.org at incept.ch
Wed Jun 30 11:24:46 EDT 2004
Update of /cvs-repository/Products/CMFCore/tests/base
In directory cvs.zope.org:/tmp/cvs-serv22688/tests/base
Modified Files:
testcase.py
Log Message:
- some unittests failed under Windows due to wrong sys.platform tests (was 'nt', is now 'win32')
=== Products/CMFCore/tests/base/testcase.py 1.9 => 1.10 ===
--- Products/CMFCore/tests/base/testcase.py:1.9 Mon Apr 26 08:14:16 2004
+++ Products/CMFCore/tests/base/testcase.py Wed Jun 30 11:24:46 2004
@@ -125,7 +125,8 @@
def _addedOrRemoved(self, old_mtime):
# Called after adding/removing a file from self.skin_path_name.
- if sys.platform == 'nt':
+
+ if sys.platform == 'win32':
# Windows doesn't reliably update directory mod times, so
# DirectoryView has an expensive workaround. The
# workaround does not rely on directory mod times.
More information about the CMF-checkins
mailing list