diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index beae6ad..ea2569f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,7 +24,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"] + python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14"] runs-on: ubuntu-22.04 diff --git a/test_typing_inspect.py b/test_typing_inspect.py index c5a3c9c..df7ed36 100644 --- a/test_typing_inspect.py +++ b/test_typing_inspect.py @@ -114,6 +114,7 @@ class Other(dict): PY36 = sys.version_info[:3] >= (3, 6, 0) PY39 = sys.version_info[:3] >= (3, 9, 0) +PY314 = sys.version_info[:3] >= (3, 14, 0) if PY36: exec(PY36_TESTS) @@ -494,7 +495,7 @@ class MyClass(List[int], Mapping[str, List[int]]): pass (List[int], Mapping[str, List[int]])) self.assertEqual(get_generic_bases(int), ()) - @skipUnless(PY36, "Python 3.6 required") + @skipUnless(PY36 and not PY314, "Python 3.6 required") def test_typed_dict_mypy_extension(self): TDOld = METypedDict("TDOld", {'x': int, 'y': int}) self.assertEqual(typed_dict_keys(TDM), {'x': int, 'y': int})