[pypy-commit] pypy win64_gborg: test_ll_os_stat works now, too. Hint: never assume 'c:\temp' exists. Use the environ!

ctismer noreply at buildbot.pypy.org
Wed Nov 9 01:48:45 CET 2011


Author: Christian Tismer <tismer at stackless.com>
Branch: win64_gborg
Changeset: r48977:ede54430f3a2
Date: 2011-11-09 01:48 +0100
http://bitbucket.org/pypy/pypy/changeset/ede54430f3a2/

Log:	test_ll_os_stat works now, too. Hint: never assume 'c:\temp' exists.
	Use the environ!

diff --git a/pypy/rpython/module/test/test_ll_os_stat.py b/pypy/rpython/module/test/test_ll_os_stat.py
--- a/pypy/rpython/module/test/test_ll_os_stat.py
+++ b/pypy/rpython/module/test/test_ll_os_stat.py
@@ -26,7 +26,7 @@
             assert wstat(unicode(f)).st_mtime == expected
 
         check('c:/')
-        check('c:/temp')
+        check(os.environ['TEMP'])
         check('c:/pagefile.sys')
 
     def test_fstat(self):


More information about the pypy-commit mailing list