File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -156,7 +156,7 @@ def test_copy_replace_all_fields_visible(self):
156
156
with self .assertRaisesRegex (ValueError , 'unexpected field name' ):
157
157
copy .replace (t , user = 1 , error = - 1 )
158
158
159
- def test_copy_replace_has_invisible_fields (self ):
159
+ def test_copy_replace_with_invisible_fields (self ):
160
160
t = time .gmtime (0 )
161
161
assert t .n_unnamed_fields == 0 and t .n_sequence_fields < t .n_fields
162
162
@@ -189,7 +189,7 @@ def test_copy_replace_has_invisible_fields(self):
189
189
with self .assertRaisesRegex (ValueError , 'unexpected field name' ):
190
190
copy .replace (t , tm_zone = 'some other zone' , error = 2 )
191
191
192
- def test_copy_replace_has_unnamed_fields (self ):
192
+ def test_copy_replace_with_unnamed_fields (self ):
193
193
assert os .stat_result .n_unnamed_fields > 0
194
194
r = os .stat_result (range (os .stat_result .n_sequence_fields ))
195
195
with self .assertRaisesRegex (TypeError , '__replace__() is not supported' ):
You can’t perform that action at this time.
0 commit comments