Ignore:
Timestamp:
04/23/06 14:07:52 (8 years ago)
Author:
xi
Message:

Prepare setup.py for release. Fix #7.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pyyaml/trunk/tests/test_representer.py

    r147 r150  
    1919            except AssertionError: 
    2020                if isinstance(data1, dict): 
    21                     data1 = data1.items() 
     21                    data1 = [(repr(key), value) for key, value in data1.items()] 
    2222                    data1.sort() 
    2323                    data1 = repr(data1) 
    24                     data2 = data2.items() 
     24                    data2 = [(repr(key), value) for key, value in data2.items()] 
    2525                    data2.sort() 
    2626                    data2 = repr(data2) 
Note: See TracChangeset for help on using the changeset viewer.