def test_multiple_files(self): self.compileCode("multiFiles", "def f(): return 42", "def g(): return 33") import multiFiles, multiFiles1 self.assertEqual(multiFiles.f(), 42) self.assertEqual(multiFiles1.g(), 33)
def test_multiple_files(): compileCode("multiFiles", "def f(): return 42", "def g(): return 33") import multiFiles, multiFiles1 AreEqual(multiFiles.f(), 42) AreEqual(multiFiles1.g(), 33)