Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 83fd01b

Browse files
committed
Change comment in tests
1 parent a9dba93 commit 83fd01b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_structseq.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ def test_copy_replace_all_fields_visible(self):
150150
self.assertEqual(copy.replace(t, system=2), (0, 2, *range(2, n_fields)))
151151
self.assertEqual(copy.replace(t, user=1, system=2), (1, 2, *range(2, n_fields)))
152152

153-
# named invisible fields
153+
# unknown fields
154154
with self.assertRaisesRegex(ValueError, 'unexpected field name'):
155155
copy.replace(t, error=-1)
156156
with self.assertRaisesRegex(ValueError, 'unexpected field name'):

0 commit comments

Comments
 (0)