diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a505ba4e..fd7e5e2a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -8,7 +8,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: [3.6, 3.7, 3.8, 3.9, "3.10", 3.11, 3.12, pypy3.10] + python-version: [3.6, 3.7, 3.8, 3.9, "3.10", 3.11, 3.12, pypy3.9, pypy3.10] steps: - uses: actions/checkout@v4 diff --git a/testtools/tests/test_testresult.py b/testtools/tests/test_testresult.py index d419f02c..015972cc 100644 --- a/testtools/tests/test_testresult.py +++ b/testtools/tests/test_testresult.py @@ -2668,14 +2668,12 @@ def test_non_ascii_dirname(self): def test_syntax_error(self): """Syntax errors should still have fancy special-case formatting""" if platform.python_implementation() == "PyPy": - spaces = ' ' - marker = '^' + spaces = ' ' elif sys.version_info >= (3, 10): spaces = ' ' - marker = '^^^' else: spaces = ' ' - marker = '^' + marker = '^^^' if sys.version_info >= (3, 10) else '^' textoutput = self._test_external_case("exec ('f(a, b c)')") self.assertIn(self._as_output( ' File "", line 1\n'