Skip to content

Commit e982bc7

Browse files
committed
chore: fix test_lazy_imports.py to properly trigger module re-initialization
1 parent 72548f9 commit e982bc7

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

packages/google-auth/tests/transport/test_lazy_imports.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525

2626
def clean_sys_modules():
2727
"""Helper to ensure we start with a clean slate for import testing."""
28+
sys.modules.pop("google.auth.transport", None)
2829
for mod in LAZY_MODULES:
2930
sys.modules.pop(mod, None)
3031

0 commit comments

Comments
 (0)