Commit 7e3c7350 authored by Kevin Modzelewski's avatar Kevin Modzelewski

Fix csv_test.py

parent 6f10acc7
...@@ -723,6 +723,7 @@ void checkAndThrowCAPIException() { ...@@ -723,6 +723,7 @@ void checkAndThrowCAPIException() {
value = runtimeCall(type, ArgPassSpec(0, 0, true, false), autoDecref(value), NULL, NULL, NULL, NULL); value = runtimeCall(type, ArgPassSpec(0, 0, true, false), autoDecref(value), NULL, NULL, NULL, NULL);
} else if (value == None) { } else if (value == None) {
value = runtimeCall(type, ArgPassSpec(0), NULL, NULL, NULL, NULL, NULL); value = runtimeCall(type, ArgPassSpec(0), NULL, NULL, NULL, NULL, NULL);
Py_DECREF(None);
} else { } else {
value = runtimeCall(type, ArgPassSpec(1), autoDecref(value), NULL, NULL, NULL, NULL); value = runtimeCall(type, ArgPassSpec(1), autoDecref(value), NULL, NULL, NULL, NULL);
} }
......
# expected: reffail
import csv import csv
import StringIO import StringIO
......
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