Skip to content

Fix typo in test_dataclasses.py#95735

Merged
ericvsmith merged 1 commit intopython:mainfrom
da-woods:patch-1
Aug 6, 2022
Merged

Fix typo in test_dataclasses.py#95735
ericvsmith merged 1 commit intopython:mainfrom
da-woods:patch-1

Conversation

@da-woods
Copy link
Copy Markdown
Contributor

@da-woods da-woods commented Aug 6, 2022

dataclass was called as a function when it was almost certainly intended to be a decorator.

(I don't believe this needs an issue or a news entry)

`dataclass` was called as a function when it was almost certainly intended to be a decorator.

(I don't believe this needs an issue or a news entry)
Copy link
Copy Markdown
Contributor

@hauntsaninja hauntsaninja left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch!

@miss-islington
Copy link
Copy Markdown
Contributor

Thanks @da-woods for the PR, and @ericvsmith for merging it 🌮🎉.. I'm working now to backport this PR to: 3.10, 3.11.
🐍🍒⛏🤖 I'm not a witch! I'm not a witch!

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Aug 6, 2022
`dataclass` was called as a function when it was almost certainly intended to be a decorator.
(cherry picked from commit 59e09ef)

Co-authored-by: da-woods <dw-git@d-woods.co.uk>
@bedevere-bot bedevere-bot removed the needs backport to 3.11 only security fixes label Aug 6, 2022
@bedevere-bot
Copy link
Copy Markdown

GH-95740 is a backport of this pull request to the 3.11 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Aug 6, 2022
`dataclass` was called as a function when it was almost certainly intended to be a decorator.
(cherry picked from commit 59e09ef)

Co-authored-by: da-woods <dw-git@d-woods.co.uk>
@bedevere-bot bedevere-bot removed the needs backport to 3.10 only security fixes label Aug 6, 2022
@bedevere-bot
Copy link
Copy Markdown

GH-95741 is a backport of this pull request to the 3.10 branch.

miss-islington added a commit that referenced this pull request Aug 6, 2022
`dataclass` was called as a function when it was almost certainly intended to be a decorator.
(cherry picked from commit 59e09ef)

Co-authored-by: da-woods <dw-git@d-woods.co.uk>
@da-woods da-woods deleted the patch-1 branch August 6, 2022 18:37
ericvsmith pushed a commit that referenced this pull request Aug 9, 2022
`dataclass` was called as a function when it was almost certainly intended to be a decorator.
(cherry picked from commit 59e09ef)

Co-authored-by: da-woods <dw-git@d-woods.co.uk>

Co-authored-by: da-woods <dw-git@d-woods.co.uk>
iritkatriel pushed a commit to iritkatriel/cpython that referenced this pull request Aug 11, 2022
`dataclass` was called as a function when it was almost certainly intended to be a decorator.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip issue skip news tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants