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

Share data files between Py2 and Py3 test suites.

Location:
pyyaml/trunk/tests/lib3
Files:
1 added
1 copied

Legend:

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

    r328 r330  
    22import sys, os, os.path, types, traceback, pprint 
    33 
    4 DATA = 'tests3/data' 
     4DATA = 'tests/data' 
    55 
    66def find_test_functions(collections): 
     
    2222        if os.path.isfile(os.path.join(directory, filename)): 
    2323            base, ext = os.path.splitext(filename) 
     24            if base.endswith('-py2'): 
     25                continue 
    2426            filenames.setdefault(base, []).append(ext) 
    2527    filenames = sorted(filenames.items()) 
Note: See TracChangeset for help on using the changeset viewer.