Skip to content

Commit 8844d76

Browse files
author
Randall C. O'Reilly
committed
update testHI want to fit python 3.10 error string
1 parent 46b27b3 commit 8844d76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ caught: can't work for 24 hours!
216216
--- p.Salary(24): caught: can't work for 24 hours!
217217
--- Person.__init__
218218
caught: argument 2 must be str, not int | err-type: <class 'TypeError'>
219-
caught: an integer is required (got type str) | err-type: <class 'TypeError'>
219+
caught: 'str' object cannot be interpreted as an integer | err-type: <class 'TypeError'>
220220
*ERROR* no exception raised!
221221
hi.Person{Name="name", Age=0}
222222
hi.Person{Name="name", Age=42}

0 commit comments

Comments
 (0)