Implement p0 tutorial.

This commit is contained in:
2021-10-11 21:01:31 -04:00
parent a95016431f
commit cd948fe640
15 changed files with 165 additions and 159 deletions

View File

@@ -28,7 +28,7 @@ class EvalTest(testClasses.TestCase):
def evalCode(self, moduleDict):
bindings = dict(moduleDict)
exec self.preamble in bindings
exec(self.preamble, bindings)
return str(eval(self.test, bindings))
def execute(self, grades, moduleDict, solutionDict):