Skip to content

Commit b087d9b

Browse files
committed
Fix the tests.
1 parent 753c9bc commit b087d9b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Lib/test/test_types.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def test_names(self):
5757
'LambdaType', 'MappingProxyType', 'MemberDescriptorType',
5858
'MethodDescriptorType', 'MethodType', 'MethodWrapperType',
5959
'ModuleType', 'NoneType', 'NotImplementedType', 'SimpleNamespace',
60-
'TracebackType', 'UnionType', 'WrapperDescriptorType',
60+
'TracebackType', 'UnionType', 'WrapperDescriptorType', 'FrameLocalsProxyType'
6161
}
6262
self.assertEqual(all_names, set(c_types.__all__))
6363
self.assertEqual(all_names - c_only_names, set(py_types.__all__))
@@ -714,7 +714,7 @@ def call(part):
714714
def test_frame_locals_proxy(self):
715715
frame = inspect.currentframe()
716716
self.assertIsNotNone(frame)
717-
self.assertIsInstance(frame.f_locals, types.FrameLocalsProxy)
717+
self.assertIsInstance(frame.f_locals, types.FrameLocalsProxyType)
718718

719719

720720
class UnionTests(unittest.TestCase):

0 commit comments

Comments
 (0)