From 86276fe4f8e0801f1194b55fa8d8cb7dbf8ee658 Mon Sep 17 00:00:00 2001 From: Nikita Sobolev Date: Sat, 21 Oct 2023 14:26:03 +0300 Subject: gh-110974: Make sure all test_zoneinfo tests are collected (GH-110975) Test classes from the test_zoneinfo submodule were overridden by test classes from the test_zoneinfo_property submodule with the same name. --- Lib/test/test_zoneinfo/__init__.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Lib/test/test_zoneinfo/__init__.py b/Lib/test/test_zoneinfo/__init__.py index c3ea567..4b16ecc 100644 --- a/Lib/test/test_zoneinfo/__init__.py +++ b/Lib/test/test_zoneinfo/__init__.py @@ -1,2 +1,5 @@ -from .test_zoneinfo import * -from .test_zoneinfo_property import * +import os +from test.support import load_package_tests + +def load_tests(*args): + return load_package_tests(os.path.dirname(__file__), *args) -- cgit v0.12