From: <fwi...@us...> - 2008-09-09 21:15:57
|
Revision: 5307 http://jython.svn.sourceforge.net/jython/?rev=5307&view=rev Author: fwierzbicki Date: 2008-09-09 21:15:54 +0000 (Tue, 09 Sep 2008) Log Message: ----------- Disable refcount test with is_jython check. Modified Paths: -------------- trunk/jython/Lib/test/test_os.py Modified: trunk/jython/Lib/test/test_os.py =================================================================== --- trunk/jython/Lib/test/test_os.py 2008-09-09 20:35:30 UTC (rev 5306) +++ trunk/jython/Lib/test/test_os.py 2008-09-09 21:15:54 UTC (rev 5307) @@ -25,10 +25,12 @@ def test_rename(self): path = unicode(test_support.TESTFN) - old = sys.getrefcount(path) + if not test_support.is_jython: + old = sys.getrefcount(path) self.assertRaises(TypeError, os.rename, path, 0) - new = sys.getrefcount(path) - self.assertEqual(old, new) + if not test_support.is_jython: + new = sys.getrefcount(path) + self.assertEqual(old, new) class TemporaryFileTests(unittest.TestCase): This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |