Ignore:
Timestamp:
12/29/08 13:11:08 (6 years ago)
Author:
xi
Message:

Fixed the remaining Python 3 compatibility issues.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pyyaml/trunk/tests3/test_recursive.py

    r328 r329  
    2424 
    2525def test_recursive(recursive_filename, verbose=False): 
    26     exec(open(recursive_filename, 'rb').read()) 
    27     value1 = value 
     26    context = globals().copy() 
     27    exec(open(recursive_filename, 'rb').read(), context) 
     28    value1 = context['value'] 
    2829    output1 = None 
    2930    value2 = None 
Note: See TracChangeset for help on using the changeset viewer.