fixed test result printer for python3
authorLiana Bakradze <liana.bakradze@jetbrains.com>
Mon, 27 Oct 2014 12:00:37 +0000 (15:00 +0300)
committerLiana Bakradze <liana.bakradze@jetbrains.com>
Mon, 27 Oct 2014 12:00:37 +0000 (15:00 +0300)
python/edu/course-creator/resources/fileTemplates/internal/test_helper.py.ft
python/edu/learn-python/resources/courses/introduction_course.zip

index 9d184274284529917952ad6927899362f468f20d..313b9150c4670a1e0cfa59e499e863e2b74fd8fe 100644 (file)
@@ -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):
index 07ad882088c1aa378ce7a8069cb3fd4390d0cfc2..c44ce1790f94592e46e606b8ab75ae6afe7525e2 100644 (file)
Binary files a/python/edu/learn-python/resources/courses/introduction_course.zip and b/python/edu/learn-python/resources/courses/introduction_course.zip differ