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
Update Lib/test/test_dataclasses/__init__.py
Co-authored-by: Bartosz Sławecki <bartosz@ilikepython.com>
  • Loading branch information
JelleZijlstra and johnslavik authored Apr 24, 2026
commit f3792ab96f82594a5c885f69b06244c20eee2479
2 changes: 1 addition & 1 deletion Lib/test/test_dataclasses/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5376,7 +5376,7 @@ def cls(self):
self.assertIs(A().cls(), B)

def test_empty_class_cell(self):
# gh-148947: Make sure that if the class cell is empty, we don't crash.
# gh-148947: Make sure that we explicitly handle the empty class cell.
def maker():
if False:
__class__ = 42
Expand Down
Loading