Changeset 325 for pyyaml/trunk/tests/test_constructor.py
- Timestamp:
- 12/28/08 16:42:35 (3 years ago)
- Files:
-
- 1 modified
-
pyyaml/trunk/tests/test_constructor.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
pyyaml/trunk/tests/test_constructor.py
r322 r325 232 232 elif isinstance(data, unicode): 233 233 return data.encode('utf-8') 234 elif isinstance(data, float) and data != data: 235 return '?' 234 236 else: 235 237 return str(data)
