Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexWaygood committed May 11, 2024
1 parent b88889e commit 9379f98
Show file tree
Hide file tree
Showing 4 changed files with 160 additions and 126 deletions.
2 changes: 1 addition & 1 deletion Lib/test/libregrtest/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ def clear_caches():
except KeyError:
pass
else:
for f in typing._cleanups:
for f in typing._CACHE_CLEANUPS:
f()

try:
Expand Down
2 changes: 1 addition & 1 deletion Lib/test/test_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class Example:
class Forward: ...

def clear_typing_caches():
for f in typing._cleanups:
for f in typing._CACHE_CLEANUPS:
f()


Expand Down
2 changes: 1 addition & 1 deletion Lib/test/test_typing.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def assertNotIsSubclass(self, cls, class_or_tuple, msg=None):
raise self.failureException(message)

def clear_caches(self):
for f in typing._cleanups:
for f in typing._CACHE_CLEANUPS:
f()


Expand Down
Loading

0 comments on commit 9379f98

Please sign in to comment.