Issue #27626: Spelling fixes in docs, comments and internal names · python/cpython@eb99570 (original) (raw)
`@@ -654,7 +654,7 @@ def test_reversed_iteration_order(self):
`
654
654
`self.Season.SPRING]
`
655
655
` )
`
656
656
``
657
``
`-
def test_programatic_function_string(self):
`
``
657
`+
def test_programmatic_function_string(self):
`
658
658
`SummerMonth = Enum('SummerMonth', 'june july august')
`
659
659
`lst = list(SummerMonth)
`
660
660
`self.assertEqual(len(lst), len(SummerMonth))
`
`@@ -671,7 +671,7 @@ def test_programatic_function_string(self):
`
671
671
`self.assertIn(e, SummerMonth)
`
672
672
`self.assertIs(type(e), SummerMonth)
`
673
673
``
674
``
`-
def test_programatic_function_string_with_start(self):
`
``
674
`+
def test_programmatic_function_string_with_start(self):
`
675
675
`SummerMonth = Enum('SummerMonth', 'june july august', start=10)
`
676
676
`lst = list(SummerMonth)
`
677
677
`self.assertEqual(len(lst), len(SummerMonth))
`
`@@ -688,7 +688,7 @@ def test_programatic_function_string_with_start(self):
`
688
688
`self.assertIn(e, SummerMonth)
`
689
689
`self.assertIs(type(e), SummerMonth)
`
690
690
``
691
``
`-
def test_programatic_function_string_list(self):
`
``
691
`+
def test_programmatic_function_string_list(self):
`
692
692
`SummerMonth = Enum('SummerMonth', ['june', 'july', 'august'])
`
693
693
`lst = list(SummerMonth)
`
694
694
`self.assertEqual(len(lst), len(SummerMonth))
`
`@@ -705,7 +705,7 @@ def test_programatic_function_string_list(self):
`
705
705
`self.assertIn(e, SummerMonth)
`
706
706
`self.assertIs(type(e), SummerMonth)
`
707
707
``
708
``
`-
def test_programatic_function_string_list_with_start(self):
`
``
708
`+
def test_programmatic_function_string_list_with_start(self):
`
709
709
`SummerMonth = Enum('SummerMonth', ['june', 'july', 'august'], start=20)
`
710
710
`lst = list(SummerMonth)
`
711
711
`self.assertEqual(len(lst), len(SummerMonth))
`
`@@ -722,7 +722,7 @@ def test_programatic_function_string_list_with_start(self):
`
722
722
`self.assertIn(e, SummerMonth)
`
723
723
`self.assertIs(type(e), SummerMonth)
`
724
724
``
725
``
`-
def test_programatic_function_iterable(self):
`
``
725
`+
def test_programmatic_function_iterable(self):
`
726
726
`SummerMonth = Enum(
`
727
727
`'SummerMonth',
`
728
728
` (('june', 1), ('july', 2), ('august', 3))
`
`@@ -742,7 +742,7 @@ def test_programatic_function_iterable(self):
`
742
742
`self.assertIn(e, SummerMonth)
`
743
743
`self.assertIs(type(e), SummerMonth)
`
744
744
``
745
``
`-
def test_programatic_function_from_dict(self):
`
``
745
`+
def test_programmatic_function_from_dict(self):
`
746
746
`SummerMonth = Enum(
`
747
747
`'SummerMonth',
`
748
748
`OrderedDict((('june', 1), ('july', 2), ('august', 3)))
`
`@@ -762,7 +762,7 @@ def test_programatic_function_from_dict(self):
`
762
762
`self.assertIn(e, SummerMonth)
`
763
763
`self.assertIs(type(e), SummerMonth)
`
764
764
``
765
``
`-
def test_programatic_function_type(self):
`
``
765
`+
def test_programmatic_function_type(self):
`
766
766
`SummerMonth = Enum('SummerMonth', 'june july august', type=int)
`
767
767
`lst = list(SummerMonth)
`
768
768
`self.assertEqual(len(lst), len(SummerMonth))
`
`@@ -778,7 +778,7 @@ def test_programatic_function_type(self):
`
778
778
`self.assertIn(e, SummerMonth)
`
779
779
`self.assertIs(type(e), SummerMonth)
`
780
780
``
781
``
`-
def test_programatic_function_type_with_start(self):
`
``
781
`+
def test_programmatic_function_type_with_start(self):
`
782
782
`SummerMonth = Enum('SummerMonth', 'june july august', type=int, start=30)
`
783
783
`lst = list(SummerMonth)
`
784
784
`self.assertEqual(len(lst), len(SummerMonth))
`
`@@ -794,7 +794,7 @@ def test_programatic_function_type_with_start(self):
`
794
794
`self.assertIn(e, SummerMonth)
`
795
795
`self.assertIs(type(e), SummerMonth)
`
796
796
``
797
``
`-
def test_programatic_function_type_from_subclass(self):
`
``
797
`+
def test_programmatic_function_type_from_subclass(self):
`
798
798
`SummerMonth = IntEnum('SummerMonth', 'june july august')
`
799
799
`lst = list(SummerMonth)
`
800
800
`self.assertEqual(len(lst), len(SummerMonth))
`
`@@ -810,7 +810,7 @@ def test_programatic_function_type_from_subclass(self):
`
810
810
`self.assertIn(e, SummerMonth)
`
811
811
`self.assertIs(type(e), SummerMonth)
`
812
812
``
813
``
`-
def test_programatic_function_type_from_subclass_with_start(self):
`
``
813
`+
def test_programmatic_function_type_from_subclass_with_start(self):
`
814
814
`SummerMonth = IntEnum('SummerMonth', 'june july august', start=40)
`
815
815
`lst = list(SummerMonth)
`
816
816
`self.assertEqual(len(lst), len(SummerMonth))
`