From 9c133bf7ad0f784f815b07dac17a3b65763de203 Mon Sep 17 00:00:00 2001 From: Brent Yi Date: Tue, 20 Sep 2022 22:37:51 -0700 Subject: [PATCH] Ignore flax tests for Python 3.10 --- tests/conftest.py | 3 +++ tests/{test_flax.py => test_flax_ignore_py310.py} | 0 2 files changed, 3 insertions(+) rename tests/{test_flax.py => test_flax_ignore_py310.py} (100%) diff --git a/tests/conftest.py b/tests/conftest.py index 0e769421..58c8975e 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -4,5 +4,8 @@ if sys.version_info.major == 3 and sys.version_info.minor == 7: collect_ignore_glob.append("*_ignore_py37.py") +if sys.version_info.major == 3 and sys.version_info.minor == 10: + collect_ignore_glob.append("*_ignore_py310.py") + if not (sys.version_info.major == 3 and sys.version_info.minor == 10): collect_ignore_glob.append("*_only_py310.py") diff --git a/tests/test_flax.py b/tests/test_flax_ignore_py310.py similarity index 100% rename from tests/test_flax.py rename to tests/test_flax_ignore_py310.py