[pypy-commit] pypy default: remove test that is obsolete since a7bddff6874e

rlamy pypy.commits at gmail.com
Wed May 22 10:29:28 EDT 2019


Author: Ronan Lamy <ronan.lamy at gmail.com>
Branch: 
Changeset: r96657:47cd0afba559
Date: 2019-05-22 15:28 +0100
http://bitbucket.org/pypy/pypy/changeset/47cd0afba559/

Log:	remove test that is obsolete since a7bddff6874e

diff --git a/pypy/tool/pytest/test/test_appsupport.py b/pypy/tool/pytest/test/test_appsupport.py
--- a/pypy/tool/pytest/test/test_appsupport.py
+++ b/pypy/tool/pytest/test/test_appsupport.py
@@ -35,25 +35,6 @@
     ])
 
 class TestSpaceConfig:
-    def test_applevel_skipped_on_cpython_and_spaceconfig(self, testdir):
-        setpypyconftest(testdir)
-        testdir.makepyfile("""
-            class AppTestClass:
-                spaceconfig = {"objspace.usemodules._random": True}
-                def setup_class(cls):
-                    assert 0
-                def test_applevel(self):
-                    pass
-        """)
-        result = testdir.runpytest("-A")
-        assert result.ret == 0
-        if hasattr(sys, 'pypy_translation_info') and \
-           sys.pypy_translation_info.get('objspace.usemodules._random'):
-            result.stdout.fnmatch_lines(["*1 error*"])
-        else:
-            # setup_class didn't get called, otherwise it would error
-            result.stdout.fnmatch_lines(["*1 skipped*"])
-
     def test_interp_spaceconfig(self, testdir):
         setpypyconftest(testdir)
         p = testdir.makepyfile("""


More information about the pypy-commit mailing list