[pypy-svn] r47278 - pypy/dist/pypy/module/_file/test

arigo at codespeak.net arigo at codespeak.net
Mon Oct 8 11:44:56 CEST 2007


Author: arigo
Date: Mon Oct  8 11:44:54 2007
New Revision: 47278

Modified:
   pypy/dist/pypy/module/_file/test/test_file_extra.py
Log:
This test randomly fails on wyvern, maybe because of a temporary
file name clash...


Modified: pypy/dist/pypy/module/_file/test/test_file_extra.py
==============================================================================
--- pypy/dist/pypy/module/_file/test/test_file_extra.py	(original)
+++ pypy/dist/pypy/module/_file/test/test_file_extra.py	Mon Oct  8 11:44:54 2007
@@ -1,8 +1,10 @@
 import os, random, sys
-from pypy.tool.udir import udir
+import pypy.tool.udir
 import py
 from pypy.interpreter.mixedmodule import testmodule
 
+udir = pypy.tool.udir.udir.ensure('test_file_extra', dir=1)
+
 
 SAMPLE = ''.join([chr(random.randrange(0, 256)) for i in range(12487)])
 for extra in ['\r\r', '\r\n', '\n\r', '\n\n']:



More information about the Pypy-commit mailing list