Implement p0 tutorial.
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user