From ea157ac548974700c6e4b01ade4bc54ac812497c Mon Sep 17 00:00:00 2001 From: sobolevn Date: Tue, 17 Oct 2023 13:53:24 +0300 Subject: [PATCH] gh-110974: Make sure all `test_zoneinfo` tests are collected --- 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 c3ea567103275d..4b16ecc31156a5 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)