We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e2ab43 commit b176224Copy full SHA for b176224
grader.py
@@ -337,15 +337,15 @@ def check(
337
if not re.search(check["stdout_pattern"], output, re.MULTILINE):
338
return (
339
False,
340
- f"Output does not match pattern {check['stdout_pattern']}",
+ f"Output does not match pattern {check['stdout_pattern']!r}",
341
None,
342
)
343
344
if "stderr_pattern" in check:
345
if not re.search(check["stderr_pattern"], error, re.MULTILINE):
346
347
348
- f"Error output does not match pattern {check['stderr_pattern']}",
+ f"Error output does not match pattern {check['stderr_pattern']!r}",
349
350
351
0 commit comments