fix save_map test on windows

This commit is contained in:
Dane Springmeyer 2014-09-05 02:34:25 +00:00
parent 41e07e3083
commit 3025b0e9e4

View file

@ -53,6 +53,7 @@ def compare_map(xml):
def test_compare_map(): def test_compare_map():
good_maps = glob.glob("../data/good_maps/*.xml") good_maps = glob.glob("../data/good_maps/*.xml")
good_maps = [os.path.normpath(p) for p in good_maps]
# remove one map that round trips CDATA differently, but this is okay # remove one map that round trips CDATA differently, but this is okay
ignorable = os.path.join('..','data','good_maps','empty_parameter2.xml') ignorable = os.path.join('..','data','good_maps','empty_parameter2.xml')
good_maps.remove(ignorable) good_maps.remove(ignorable)