From: <pj...@us...> - 2009-05-27 02:22:26
|
Revision: 6389 http://jython.svn.sourceforge.net/jython/?rev=6389&view=rev Author: pjenvey Date: 2009-05-27 01:47:54 +0000 (Wed, 27 May 2009) Log Message: ----------- test_dircache thinko, add more windows regrtest skips Modified Paths: -------------- trunk/jython/Lib/test/regrtest.py trunk/jython/Lib/test/test_dircache.py Modified: trunk/jython/Lib/test/regrtest.py =================================================================== --- trunk/jython/Lib/test/regrtest.py 2009-05-27 01:46:25 UTC (rev 6388) +++ trunk/jython/Lib/test/regrtest.py 2009-05-27 01:47:54 UTC (rev 6389) @@ -1532,7 +1532,9 @@ if test_support.is_jython: if os._name != 'posix': - self.expected.update(['test_mhlib', 'test_signal']) + self.expected.update([ + 'test_grb', 'test_mhlib', 'test_posix', 'test_pwd', + 'test_signal']) self.valid = True Modified: trunk/jython/Lib/test/test_dircache.py =================================================================== --- trunk/jython/Lib/test/test_dircache.py 2009-05-27 01:46:25 UTC (rev 6388) +++ trunk/jython/Lib/test/test_dircache.py 2009-05-27 01:47:54 UTC (rev 6389) @@ -44,8 +44,8 @@ # That is, this test can't possibly work under Windows -- dircache # is only good for capturing a one-shot snapshot there. - if (sys.platform[:3] not in ('win', 'os2') or - (is_jython and os._name != 'nt')): + if (sys.platform[:3] not in ('win', 'os2') and + (not is_jython or os._name != 'nt')): # Sadly, dircache has the same granularity as stat.mtime, and so # can't notice any changes that occurred within 1 sec of the last # time it examined a directory. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |