summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtests/run-tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/run-tests.py b/tests/run-tests.py
index f9a16283b..edd20b9bd 100755
--- a/tests/run-tests.py
+++ b/tests/run-tests.py
@@ -548,7 +548,7 @@ def run_tests(pyb, tests, args, result_dir, num_threads=1):
is_endian = test_name.endswith("_endian")
is_int_big = test_name.startswith("int_big") or test_name.endswith("_intbig")
is_bytearray = test_name.startswith("bytearray") or test_name.endswith("_bytearray")
- is_set_type = test_name.startswith("set_") or test_name.startswith("frozenset")
+ is_set_type = test_name.startswith(("set_", "frozenset")) or test_name.endswith("_set")
is_slice = test_name.find("slice") != -1 or test_name in misc_slice_tests
is_async = test_name.startswith(("async_", "uasyncio_"))
is_const = test_name.startswith("const")