Skip to content

Commit 59daace

Browse files
committed
Fix tests that were broken by the tp_name revert.
Should I test before I push my changes? Yes. Will I ever do it? No.
1 parent 0463c30 commit 59daace

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Lib/test/test_types.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -715,7 +715,8 @@ def call(part):
715715
def test_frame_locals_proxy_type(self):
716716
self.assertIsInstance(types.FrameLocalsProxyType, type)
717717
self.assertIsInstance(types.FrameLocalsProxyType.__doc__, str)
718-
self.assertEqual(types.FrameLocalsProxyType.__module__, 'types')
718+
self.assertEqual(types.FrameLocalsProxyType.__module__, 'builtins')
719+
self.assertEqual(types.FrameLocalsProxyType.__name__, 'FrameLocalsProxy')
719720

720721
frame = inspect.currentframe()
721722
self.assertIsNotNone(frame)

0 commit comments

Comments
 (0)