Skip to content

Commit d6de873

Browse files
committed
Keep datetime import
1 parent 4c79022 commit d6de873

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Lib/test/support/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2727,6 +2727,7 @@ def iter_builtin_types():
27272727
# Fall back to making a best-effort guess.
27282728
if hasattr(object, '__flags__'):
27292729
# Look for any type object with the Py_TPFLAGS_STATIC_BUILTIN flag set.
2730+
import datetime # noqa: F401
27302731
seen = set()
27312732
for cls, subs in walk_class_hierarchy(object):
27322733
if cls in seen:

0 commit comments

Comments
 (0)