diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2018-11-26 15:19:40 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2018-11-26 15:19:40 -0500 |
commit | 29f67b0639ee8b865fc170ab09b36952114e18d1 (patch) | |
tree | 31ff8ada3057c3316ec654a185aec80096f1c25c /tests | |
parent | 1d22bc523999eaedf72d76d1a4d9cf12add095de (diff) | |
download | python-coveragepy-git-29f67b0639ee8b865fc170ab09b36952114e18d1.tar.gz |
There are no kwargs to CoverageScript any more
Diffstat (limited to 'tests')
-rw-r--r-- | tests/coveragetest.py | 6 |
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 |