MCPcopy Index your code
hub / github.com/python/cpython / Season

Class Season

Lib/test/test_enum.py:429–435  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

427
428 def test_attribute_deletion(self):
429 class Season(self.enum_type):
430 SPRING = auto()
431 SUMMER = auto()
432 AUTUMN = auto()
433 #
434 def spam(cls):
435 pass
436 #
437 self.assertHasAttr(Season, 'spam')
438 del Season.spam

Callers

nothing calls this directly

Calls 1

autoClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…