rileyshahar / aga

aga grades assignments
MIT License
8 stars 2 forks source link

Capture output #10

Closed rileyshahar closed 2 years ago

rileyshahar commented 3 years ago

We should have a capture_output decorator which converts a procedure which prints to stdout into a function which returns a str containing whatever the wrapped function converted to stdout. Probably this needs to happen after the Problem is created, such that we can do the same for the student submission.