summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2018-11-26 15:19:40 -0500
committerNed Batchelder <ned@nedbatchelder.com>2018-11-26 15:19:40 -0500
commit29f67b0639ee8b865fc170ab09b36952114e18d1 (patch)
tree31ff8ada3057c3316ec654a185aec80096f1c25c /tests
parent1d22bc523999eaedf72d76d1a4d9cf12add095de (diff)
downloadpython-coveragepy-git-29f67b0639ee8b865fc170ab09b36952114e18d1.tar.gz
There are no kwargs to CoverageScript any more
Diffstat (limited to 'tests')
-rw-r--r--tests/coveragetest.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/coveragetest.py b/tests/coveragetest.py
index dcb984b3..ebbd4cfd 100644
--- a/tests/coveragetest.py
+++ b/tests/coveragetest.py
@@ -526,14 +526,12 @@ class UsingModulesMixin(object):
sys.path.append(self.nice_file(TESTS_DIR, 'moremodules'))
-def command_line(args, **kwargs):
+def command_line(args):
"""Run `args` through the CoverageScript command line.
- `kwargs` are the keyword arguments to the CoverageScript constructor.
-
Returns the return code from CoverageScript.command_line.
"""
- script = CoverageScript(**kwargs)
+ script = CoverageScript()
ret = script.command_line(shlex.split(args))
return ret