Skip to content

Commit 6a55e29

Browse files
committed
Fix tests.
1 parent ef073f9 commit 6a55e29

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/test/test_dataclasses/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5066,7 +5066,7 @@ class Date(A):
50665066
day: 'int'
50675067

50685068
self.assertTrue(inspect.isabstract(Date))
5069-
msg = "class Date without an implementation for abstract method 'foo'"
5069+
msg = r"class .*\.Date without an implementation for abstract method 'foo'"
50705070
self.assertRaisesRegex(TypeError, msg, Date)
50715071

50725072

0 commit comments

Comments
 (0)