[pypy-commit] pypy default: fix test

mattip noreply at buildbot.pypy.org
Sat Apr 21 20:38:37 CEST 2012


Author: Matti Picus <matti.picus at gmail.com>
Branch: 
Changeset: r54608:5fd058965bf7
Date: 2012-04-21 21:36 +0300
http://bitbucket.org/pypy/pypy/changeset/5fd058965bf7/

Log:	fix test

diff --git a/pypy/module/mmap/test/test_mmap.py b/pypy/module/mmap/test/test_mmap.py
--- a/pypy/module/mmap/test/test_mmap.py
+++ b/pypy/module/mmap/test/test_mmap.py
@@ -596,7 +596,7 @@
         import sys
         size = 0x14FFFFFFF
         if sys.platform.startswith('win') or sys.platform == 'darwin':
-            self.skip('test requires %s bytes and a long time to run' % size)
+            skip('test requires %s bytes and a long time to run' % size)
 
         with open(self.tmpname, "w+b") as f:
             f.seek(size)
@@ -618,7 +618,7 @@
         import sys
         size = 0x17FFFFFFF
         if sys.platform.startswith('win') or sys.platform == 'darwin':
-            self.skip('test requires %s bytes and a long time to run' % size)
+            skip('test requires %s bytes and a long time to run' % size)
 
         with open(self.tmpname, "w+b") as f:
             f.seek(size)


More information about the pypy-commit mailing list