Changeset 3676
- Timestamp:
- 05/06/08 12:08:06 (7 months ago)
- Files:
-
- trunk/Schevo/schevo/constant.py (modified) (1 diff)
- trunk/Schevo/schevo/test/test_constant.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/Schevo/schevo/constant.py
r3306 r3676 35 35 else: 36 36 return -1 37 38 def __len__(cls): 39 return 0 37 40 38 41 def __str__(cls): trunk/Schevo/schevo/test/test_constant.py
r3509 r3676 15 15 def test_UNASSIGNED(self): 16 16 assert label(UNASSIGNED) == '<UNASSIGNED>' 17 assert len(UNASSIGNED) == 0 17 18 assert str(UNASSIGNED) == '' 18 19 assert raises(TypeError, UNASSIGNED)
