From fbb3533295cfcefc6574fb2186d4e8f4e2a20dd3 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Thu, 21 Oct 2021 08:46:15 -0400 Subject: fix: changes for PyPy3.8 - Update tox.ini to let us run against PyPy3.8 - Some 3.8 behavior is (apparently) only on CPython - PyPy3.8 doesn't get along with virtualenv yet (https://github.com/pypa/virtualenv/issues/2182), so use venv instead for our virtualenv tests. --- tests/test_oddball.py | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/test_oddball.py') diff --git a/tests/test_oddball.py b/tests/test_oddball.py index b59e6395..19c93be5 100644 --- a/tests/test_oddball.py +++ b/tests/test_oddball.py @@ -148,6 +148,7 @@ class MemoryLeakTest(CoverageTest): """ @flaky @pytest.mark.skipif(env.JYTHON, reason="Don't bother on Jython") + @pytest.mark.skipif(not env.C_TRACER, reason="Only the C tracer has refcounting issues") def test_for_leaks(self): # Our original bad memory leak only happened on line numbers > 255, so # make a code object with more lines than that. Ugly string mumbo -- cgit v1.2.1