Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Lib/test/test_dataclasses.py
Original file line number Diff line number Diff line change
Expand Up @@ -2667,7 +2667,7 @@ class C:
# There was a bug where a variable in a slot was assumed
# to also have a default value (of type types.MemberDescriptorType).
with self.assertRaisesRegex(TypeError,
"__init__\(\) missing 1 required positional argument: 'x'"):
r"__init__\(\) missing 1 required positional argument: 'x'"):
C()

# We can create an instance, and assign to x.
Expand Down