diff options
| author | Ned Batchelder <ned@nedbatchelder.com> | 2014-11-27 14:07:10 -0500 |
|---|---|---|
| committer | Ned Batchelder <ned@nedbatchelder.com> | 2014-11-27 14:07:10 -0500 |
| commit | 40bc892993e7bbf6616e37c5ea963e0079cb0a6a (patch) | |
| tree | 226556996eee8943441ead198d198a19cd15b761 /tests | |
| parent | 0ed319529c4df0f99556eab3490000c660b6e14b (diff) | |
| download | python-coveragepy-40bc892993e7bbf6616e37c5ea963e0079cb0a6a.tar.gz | |
OK, I should really stop fiddling with spell-check...
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/test_config.py | 2 | ||||
| -rw-r--r-- | tests/test_process.py | 12 |
2 files changed, 8 insertions, 6 deletions
diff --git a/tests/test_config.py b/tests/test_config.py index e042492..ee4db96 100644 --- a/tests/test_config.py +++ b/tests/test_config.py @@ -91,7 +91,7 @@ class ConfigTest(CoverageTest): self.assertEqual(cov.config.data_file, "fromarg.dat") def test_parse_errors(self): - # Im-parseable values raise CoverageException, with details. + # Im-parsable values raise CoverageException, with details. bad_configs_and_msgs = [ ("[run]\ntimid = maybe?\n", r"maybe[?]"), ("timid = 1\n", r"timid = 1"), diff --git a/tests/test_process.py b/tests/test_process.py index 2ed8c4a..0409e4a 100644 --- a/tests/test_process.py +++ b/tests/test_process.py @@ -752,12 +752,14 @@ class ProcessStartupTest(ProcessCoverageMixin, CoverageTest): class ProcessStartupWithSourceTest(ProcessCoverageMixin, CoverageTest): """Show that we can configure {[run]source} during process-level coverage. - There are three interesting variables: - 1) -m versus a simple script argument (eg `python myscript`) - 2) filtering for the top-level (main.py) or second-level (sub.py) module - 3) whether the files are in a package or not + There are three interesting variables, for a total of eight tests: - ... for a total of eight tests. + 1. -m versus a simple script argument (for example, `python myscript`), + + 2. filtering for the top-level (main.py) or second-level (sub.py) + module, and + + 3. whether the files are in a package or not. """ |
