Commit 0d80aecd authored by Kevin Modzelewski's avatar Kevin Modzelewski

Fix exceptions_test.py

parent 84797a2e
......@@ -198,7 +198,7 @@ extern "C" void printHelper(Box* w, Box* v, bool nl) {
}
}
if (nl) {
if (err == 0 && nl) {
if (w != NULL) {
err = PyFile_WriteString("\n", w);
if (err == 0)
......
# expected: reffail
class TestException(Exception):
pass
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment