Skip to content

Commit 1971a14

Browse files
committed
Sort the name alphabetically.
1 parent b087d9b commit 1971a14

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

Lib/test/test_types.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,12 @@ def test_names(self):
5353
'AsyncGeneratorType', 'BuiltinFunctionType', 'BuiltinMethodType',
5454
'CapsuleType', 'CellType', 'ClassMethodDescriptorType', 'CodeType',
5555
'CoroutineType', 'EllipsisType', 'FrameType', 'FunctionType',
56-
'GeneratorType', 'GenericAlias', 'GetSetDescriptorType',
57-
'LambdaType', 'MappingProxyType', 'MemberDescriptorType',
58-
'MethodDescriptorType', 'MethodType', 'MethodWrapperType',
59-
'ModuleType', 'NoneType', 'NotImplementedType', 'SimpleNamespace',
60-
'TracebackType', 'UnionType', 'WrapperDescriptorType', 'FrameLocalsProxyType'
56+
'FrameLocalsProxyType', 'GeneratorType', 'GenericAlias',
57+
'GetSetDescriptorType', 'LambdaType', 'MappingProxyType',
58+
'MemberDescriptorType', 'MethodDescriptorType', 'MethodType',
59+
'MethodWrapperType', 'ModuleType', 'NoneType', 'NotImplementedType',
60+
'SimpleNamespace', 'TracebackType', 'UnionType',
61+
'WrapperDescriptorType',
6162
}
6263
self.assertEqual(all_names, set(c_types.__all__))
6364
self.assertEqual(all_names - c_only_names, set(py_types.__all__))

0 commit comments

Comments
 (0)