summaryrefslogtreecommitdiff
path: root/coverage/tracer.c
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2011-08-08 22:24:51 -0400
committerNed Batchelder <ned@nedbatchelder.com>2011-08-08 22:24:51 -0400
commit8799da89bd2ff281e95eb341d524d42f566532eb (patch)
treed970f4666e71a326d8fe43a2188fc1315845c7b5 /coverage/tracer.c
parent1966f545699490822117d66a86f2de91734a6ee9 (diff)
downloadpython-coveragepy-8799da89bd2ff281e95eb341d524d42f566532eb.tar.gz
Control the test better; don't use os when cleaning up the path
Diffstat (limited to 'coverage/tracer.c')
-rw-r--r--coverage/tracer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/coverage/tracer.c b/coverage/tracer.c
index e9fc56b..2e7c7a5 100644
--- a/coverage/tracer.c
+++ b/coverage/tracer.c
@@ -473,7 +473,7 @@ Tracer_trace(Tracer *self, PyFrameObject *frame, int what, PyObject *arg_unused)
* optional keyword argument:
*
* def Tracer_call(frame, event, arg, lineno=0)
- *
+ *
* If provided, the lineno argument is used as the line number, and the
* frame's f_lineno member is ignored.
*/
@@ -500,7 +500,7 @@ Tracer_call(Tracer *self, PyObject *args, PyObject *kwds)
static char *kwlist[] = {"frame", "event", "arg", "lineno", NULL};
- if (!PyArg_ParseTupleAndKeywords(args, kwds, "O!O!O|i:Tracer_call", kwlist,
+ if (!PyArg_ParseTupleAndKeywords(args, kwds, "O!O!O|i:Tracer_call", kwlist,
&PyFrame_Type, &frame, &MyText_Type, &what_str, &arg, &lineno)) {
goto done;
}