File tree Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -507,7 +507,7 @@ def leaf_generator(exc, tbs=None):
507
507
508
508
class LeafGeneratorTest (unittest .TestCase ):
509
509
# The leaf_generator is mentioned in PEP 654 as a suggestion
510
- # on how to iterate over leaf nodes of an EG. Is is also
510
+ # on how to iterate over leaf nodes of an EG. It is also
511
511
# used below as a test utility. So we test it here.
512
512
513
513
# TODO: RUSTPYTHON
Original file line number Diff line number Diff line change @@ -217,7 +217,7 @@ def startTestRun(self):
217
217
self .suite_map = {}
218
218
219
219
def stopTestRun (self ):
220
- # if no tests or some failure occured execution time may not have been set
220
+ # if no tests or some failure occurred execution time may not have been set
221
221
try :
222
222
self .results ['suites' ][self .suite_map [self .suite ]]['execution_time' ] = format (self .suite_execution_time , '.%sf' % CustomTextTestResult ._execution_time_significant_digits )
223
223
except :
Original file line number Diff line number Diff line change @@ -657,7 +657,7 @@ def __eq__(self, other):
657
657
l .remove (4 )
658
658
assert_raises (ValueError , lambda : l .index (4 )) # element 4 must not be in the list
659
659
660
- # Test no panic occured when list elements was deleted in __eq__
660
+ # Test no panic occurred when list elements was deleted in __eq__
661
661
class rewrite_list_eq (list ):
662
662
pass
663
663
Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ def test_array_frombytes():
101
101
102
102
test_str = '🌉abc🌐def🌉🌐'
103
103
u = array ('u' , test_str )
104
- # skip as 2 bytes character enviroment with CPython is failing the test
104
+ # skip as 2 bytes character environment with CPython is failing the test
105
105
if u .itemsize >= 4 :
106
106
assert u .__reduce_ex__ (1 )[1 ][1 ] == list (test_str )
107
107
assert loads (dumps (u , 1 )) == loads (dumps (u , 3 ))
Original file line number Diff line number Diff line change 43
43
44
44
45
45
def f ():
46
- # Test no panic occured .
46
+ # Test no panic occurred .
47
47
[[x := 1 for j in range (5 )] for i in range (5 )]
You can’t perform that action at this time.
0 commit comments