From ac1c866fa93d95450eca2eb8987094330bb6ca58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Parodi=2C=20Eugenio=20=F0=9F=8C=B6?= Date: Mon, 22 Dec 2025 11:25:02 +0100 Subject: [PATCH] chore: exclude test for python 3.9 --- tests/timeit/35.match.01.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/timeit/35.match.01.py b/tests/timeit/35.match.01.py index cb44938b..a3334012 100644 --- a/tests/timeit/35.match.01.py +++ b/tests/timeit/35.match.01.py @@ -32,6 +32,11 @@ import timeit from typing import List, Tuple, Iterator +# match statement requires Python 3.10+ +if sys.version_info < (3, 10): + print("This test requires Python 3.10 or higher (match statement not available)") + sys.exit(0) + def test_ti_01_01_ma(): ret = 0 for i in range(1000):