[pypy-svn] r46000 - in pypy/branch/pypy-more-rtti-inprogress: module/posix/test translator/c/test
pedronis at codespeak.net
pedronis at codespeak.net
Sun Aug 26 23:20:01 CEST 2007
Author: pedronis
Date: Sun Aug 26 23:19:59 2007
New Revision: 46000
Modified:
pypy/branch/pypy-more-rtti-inprogress/module/posix/test/test_posix2.py
pypy/branch/pypy-more-rtti-inprogress/translator/c/test/test_extfunc.py
Log:
hfs+ (default os x fs) has no sparse files
Modified: pypy/branch/pypy-more-rtti-inprogress/module/posix/test/test_posix2.py
==============================================================================
--- pypy/branch/pypy-more-rtti-inprogress/module/posix/test/test_posix2.py (original)
+++ pypy/branch/pypy-more-rtti-inprogress/module/posix/test/test_posix2.py Sun Aug 26 23:19:59 2007
@@ -275,6 +275,9 @@
def test_largefile(self):
os = self.posix
+ import sys
+ if sys.platform == 'darwin':
+ skip("no sparse files on default Mac OS X file system")
if os.__name__ == 'nt':
skip("no sparse files on Windows")
fd = os.open(self.path2, os.O_RDWR | os.O_CREAT, 0666)
Modified: pypy/branch/pypy-more-rtti-inprogress/translator/c/test/test_extfunc.py
==============================================================================
--- pypy/branch/pypy-more-rtti-inprogress/translator/c/test/test_extfunc.py (original)
+++ pypy/branch/pypy-more-rtti-inprogress/translator/c/test/test_extfunc.py Sun Aug 26 23:19:59 2007
@@ -122,6 +122,8 @@
os.unlink(filename)
def test_largefile():
+ if sys.platform == 'darwin':
+ skip("no sparse files on default Mac OS X file system")
if not hasattr(os, 'ftruncate'):
py.test.skip("this os has no ftruncate :-(")
if os.name == 'nt':
More information about the Pypy-commit
mailing list