Author: Matti Picus <[email protected]>
Branch: py3.6
Changeset: r97208:283ba49cc4e4
Date: 2019-08-18 10:55 +0300
http://bitbucket.org/pypy/pypy/changeset/283ba49cc4e4/
Log: fix test (do not override baseclass setup_class, remove redundant
skip clause)
diff --git a/pypy/module/__pypy__/test/test_signal.py
b/pypy/module/__pypy__/test/test_signal.py
--- a/pypy/module/__pypy__/test/test_signal.py
+++ b/pypy/module/__pypy__/test/test_signal.py
@@ -16,9 +16,6 @@
class AppTestThreadSignal(GenericTestThread):
spaceconfig = dict(usemodules=['__pypy__', 'thread', 'signal', 'time'])
- def setup_class(cls):
- cls.w_runappdirect = cls.space.wrap(cls.runappdirect)
-
def test_exit_twice(self):
import __pypy__, _thread
__pypy__.thread._signals_exit()
@@ -109,8 +106,7 @@
spaceconfig = dict(usemodules=['__pypy__', 'thread', 'signal'])
def setup_class(cls):
- if (not cls.runappdirect or
- '__pypy__' not in sys.builtin_module_names):
+ if (not cls.runappdirect):
import py
py.test.skip("this is only a test for -A runs on top of pypy")
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit