We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10924ba commit d75458fCopy full SHA for d75458f
freezegun/api.py
@@ -68,7 +68,9 @@
68
uuid_generate_time_attr = '_uuid_generate_time'
69
except AttributeError:
70
# noinspection PyUnresolvedReferences
71
- uuid._load_system_functions()
+ if hasattr(uuid, '_load_system_functions'):
72
+ # A no-op after Python ~3.9, being removed in 3.13.
73
+ uuid._load_system_functions()
74
75
real_uuid_generate_time = uuid._generate_time_safe
76
uuid_generate_time_attr = '_generate_time_safe'
0 commit comments