Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Update message to raise
  • Loading branch information
jkchandalia committed Apr 24, 2023
commit 8b868c932d2dc53bed15a8f53ac172a873ef4b5a
2 changes: 1 addition & 1 deletion test-data/unit/check-classes.test
Original file line number Diff line number Diff line change
Expand Up @@ -1397,7 +1397,7 @@ main:8: note: def f(self) -> None

[case testClassMethodAndStaticMethod]
class C:
@classmethod # E: Cannot have both classmethod and staticmethod
@classmethod # E: "Type[C]" cannot have both classmethod and staticmethod
@staticmethod
def foo(cls) -> None: pass
[builtins fixtures/classmethod.pyi]
Expand Down