general: make time.tz.via_location user config lazy, move tests to my.tests package
also gets rid of the problematic reset_modules thingie
This commit is contained in:
parent
270080bd56
commit
a5643206a0
15 changed files with 269 additions and 233 deletions
|
@ -125,8 +125,10 @@ def test_fromisoformat() -> None:
|
|||
|
||||
if sys.version_info[:2] >= (3, 10):
|
||||
from types import NoneType
|
||||
from typing import TypeAlias
|
||||
else:
|
||||
NoneType = type(None)
|
||||
from typing_extensions import TypeAlias
|
||||
|
||||
|
||||
if sys.version_info[:2] >= (3, 11):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue