Ignore:
Timestamp:
12/30/08 13:18:53 (6 years ago)
Author:
xi
Message:

Final touches before the release.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pyyaml/trunk/tests/lib3/test_input_output.py

    r334 r336  
    5757            data2 = stream.getvalue() 
    5858            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) 
    5962            stream = io.BytesIO() 
    6063            if encoding is None: 
Note: See TracChangeset for help on using the changeset viewer.