You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
dir_util.copy_tree(directory_name+"/data/", "./data/") # Copy the data folder that some solutions need
36
39
exceptdir_util.DistutilsFileError:
37
-
print(colors.WARNING+"The data folder was unable to be copied from "+directory_name+" to ./data!")
38
-
print("Some solutions may not be able to compile!\n"+colors.ENDC)
40
+
print(color_string(colors.WARNING, "The data folder was unable to be copied from "+directory_name+" to ./data!\nSome solutions may not be able to compile!\n"))
print("\nResult: "+colors.FAIL+"FAILURE"+colors.ENDC+": Current output "+str(current_output) +" does not match expected output "+str(expected_solution) +"!")
70
+
print("\nResult: "+color_string(colors.FAIL, "FAILURE")+": Current output "+str(current_output) +" does not match expected output "+str(expected_solution) +"!")
69
71
else:
70
-
print("Result: "+colors.FAIL+"FAILURE"+colors.ENDC+": Expected solution to problem "+str(current_key) +" was not found!")
72
+
print("Result: "+color_string(colors.FAIL, "FAILURE")+": Expected solution to problem "+str(current_key) +" was not found!")
71
73
exceptValueError:
72
-
print("Result: "+colors.FAIL+"FAILURE"+colors.ENDC+": Output is of non-integer type!")
74
+
print("Result: "+color_string(colors.FAIL, "FAILURE")+": Output is of non-integer type!")
0 commit comments