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_constructor.py

    r147 r150  
    256256            except AssertionError: 
    257257                if isinstance(data1, dict): 
    258                     data1 = data1.items() 
     258                    data1 = [(repr(key), value) for key, value in data1.items()] 
    259259                    data1.sort() 
    260260                    data1 = repr(data1) 
    261                     data2 = data2.items() 
     261                    data2 = [(repr(key), value) for key, value in data2.items()] 
    262262                    data2.sort() 
    263263                    data2 = repr(data2) 
Note: See TracChangeset for help on using the changeset viewer.