again: try to use unicode, #52

This commit is contained in:
David Halter
2012-11-02 18:05:04 +01:00
parent 948b72d27f
commit ee524eb2a9
3 changed files with 4 additions and 9 deletions

View File

@@ -212,8 +212,7 @@ def test_dir(completion_test_dir, thirdparty=False):
path = os.path.join(completion_test_dir, f_name)
f = open(path)
num_tests, fails = run_test(unicode(f.read()), f_name,
lines_to_execute)
num_tests, fails = run_test(f.read(), f_name, lines_to_execute)
s = 'run %s tests with %s fails (%s)' % (num_tests, fails, f_name)
tests_fail += fails