Commits

Anonymous committed 632f611

Fixed unit test in async_sub.py to call "sys.executable xxx.py" instead of .py file directly.

  • Participants
  • Parent commits f72abea

Comments (0)

Files changed (1)

         finally:
             fh.close()
 
-        ret_code, response = proc_in_time_or_kill(temp_file, time_out=1)
+        ret_code, response = proc_in_time_or_kill(
+            "%s %s" % (sys.executable, temp_file), time_out = 1
+        )
 
         self.assert_(
             ret_code.startswith('"Process timed out') and