def setUp(self):
self.old_dir = os.getcwd()
os.chdir(self.working_dir)
- os.system("make clean > /dev/null")
+ os.system(
+ "make PYTHON='%s' clean > /dev/null" % sys.executable)
def tearDown(self):
try:
- os.system("make clean > /dev/null")
+ os.system(
+ "make PYTHON='%s' clean > /dev/null" % sys.executable)
except:
pass
os.chdir(self.old_dir)
def test_embed(self):
- self.assert_(os.system("make test > make.output") == 0)
+ self.assert_(os.system(
+ "make PYTHON='%s' test > make.output" % sys.executable) == 0)
class MissingDependencyExcluder:
def __init__(self, deps):