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 | 0d8e1f7783171c9c4f666f5b759322c5f27ebeb0 (patch) | |
| tree | 57b8ef8a934b3b62b3b6cf63d161655a7ce41bb7 /tests | |
| parent | 024c42c88ccbe5338fc308cf3e43c23092e295ba (diff) | |
| download | python-coveragepy-git-0d8e1f7783171c9c4f666f5b759322c5f27ebeb0.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 e0424923..ee4db966 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 2ed8c4ab..0409e4a1 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. """ |
