aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatti Picus <matti.picus@gmail.com>2021-02-17 09:51:55 +0200
committerMatti Picus <matti.picus@gmail.com>2021-02-17 09:51:55 +0200
commit2d1cfe6a81d06193570ce43389906eabe92b98a5 (patch)
tree011e5adbd007ca36ae3da904d82198cf21494d91
parenttest, add PyUnicode_Contains (issue 3400) (diff)
downloadpypy-2d1cfe6a81d06193570ce43389906eabe92b98a5.tar.gz
pypy-2d1cfe6a81d06193570ce43389906eabe92b98a5.tar.bz2
pypy-2d1cfe6a81d06193570ce43389906eabe92b98a5.zip
skip test on 32-bit
-rw-r--r--pypy/module/__pypy__/test/test_special.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/pypy/module/__pypy__/test/test_special.py b/pypy/module/__pypy__/test/test_special.py
index 6b84403e23..d2db70a5fc 100644
--- a/pypy/module/__pypy__/test/test_special.py
+++ b/pypy/module/__pypy__/test/test_special.py
@@ -1,11 +1,11 @@
-import py
+import pytest
class AppTest(object):
spaceconfig = {"objspace.usemodules.select": False}
def setup_class(cls):
if cls.runappdirect:
- py.test.skip("does not make sense on pypy-c")
+ pytest.skip("does not make sense on pypy-c")
def test_cpumodel(self):
import __pypy__
@@ -132,7 +132,10 @@ class AppTest(object):
assert strategy(s) == "IntegerSetStrategy"
def test_instance_strategy(self):
+ import sys
from __pypy__ import strategy
+ if sys.maxsize < 2**32:
+ skip('not for 32-bit python')
class A(object):
pass
a = A()