Changeset 336 for pyyaml/trunk/tests/lib3/test_input_output.py
- Timestamp:
- 12/30/08 13:18:53 (3 years ago)
- Files:
-
- 1 modified
-
pyyaml/trunk/tests/lib3/test_input_output.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
pyyaml/trunk/tests/lib3/test_input_output.py
r334 r336 57 57 data2 = stream.getvalue() 58 58 data3 = yaml.dump(value, encoding=encoding, allow_unicode=allow_unicode) 59 if encoding is not None: 60 assert isinstance(data3, bytes) 61 data3 = data3.decode(encoding) 59 62 stream = io.BytesIO() 60 63 if encoding is None:
