fixed test result printer for python3

This commit is contained in:
Liana Bakradze
2014-10-27 15:00:37 +03:00
parent 0854b89902
commit 54c0fcfc7f
2 changed files with 2 additions and 2 deletions
@@ -46,9 +46,9 @@ def check_importable_path(path):
try:
import_file(path)
except:
failed("File contains syntax errors", test_file_importable.func_name)
failed("File contains syntax errors", test_file_importable.__name__)
return
passed(test_file_importable.func_name)
passed(test_file_importable.__name__)
def import_file(path):