Skip to content

Commit

Permalink
pythongh-104015: Fix direct invokation of test_dataclasses
Browse files Browse the repository at this point in the history
  • Loading branch information
sobolevn committed Apr 30, 2023
1 parent 67d140d commit 13dd5e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lib/test/test_dataclasses.py
Original file line number Diff line number Diff line change
Expand Up @@ -3671,7 +3671,7 @@ def test_text_annotations(self):
ByMakeDataClass = make_dataclass('ByMakeDataClass', [('x', int)])
ManualModuleMakeDataClass = make_dataclass('ManualModuleMakeDataClass',
[('x', int)],
module='test.test_dataclasses')
module=__name__)
WrongNameMakeDataclass = make_dataclass('Wrong', [('x', int)])
WrongModuleMakeDataclass = make_dataclass('WrongModuleMakeDataclass',
[('x', int)],
Expand Down

0 comments on commit 13dd5e4

Please sign in to comment.