def test_main(): compileCode("mainTest", "def f(): return __name__") #this probably won't work. Need to verify once bug is fixed. import mainTest AreEqual(mainTest.f(), "mainTest")
def test_main(): compileCode("mainTest", "def f(): return __name__") #this probably won't work. Need to verify once bug is fixed. import mainTest AreEqual(mainTest.f(), "mainTest")