diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2015-08-04 07:30:08 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2015-08-04 07:30:08 -0400 |
commit | 4806d0e7bdfeccfb75c2064bad787d66a375cf40 (patch) | |
tree | 75ed93e6d24ef18571c02940f285419875ab6a11 /tests | |
parent | f06e02ebdcea3c5c585b784c568b99ea949cba90 (diff) | |
download | python-coveragepy-git-4806d0e7bdfeccfb75c2064bad787d66a375cf40.tar.gz |
Fixing spelling
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_coverage.py | 10 | ||||
-rw-r--r-- | tests/test_data.py | 2 | ||||
-rw-r--r-- | tests/test_farm.py | 2 |
3 files changed, 8 insertions, 6 deletions
diff --git a/tests/test_coverage.py b/tests/test_coverage.py index e2f0a614..9e2a444c 100644 --- a/tests/test_coverage.py +++ b/tests/test_coverage.py @@ -1675,18 +1675,20 @@ class ModuleTest(CoverageTest): class ReportingTest(CoverageTest): """Tests of some reporting behavior.""" - # We don't make any temp files, but we need an empty directory to run the - # tests in. + # We don't make any temporary files, but we need an empty directory to run + # the tests in. no_files_in_temp_dir = True def test_no_data_to_report_on_annotate(self): - # Reporting with no data produces a nice message and no output dir. + # Reporting with no data produces a nice message and no output + # directory. with self.assertRaisesRegex(CoverageException, "No data to report."): self.command_line("annotate -d ann") self.assert_doesnt_exist("ann") def test_no_data_to_report_on_html(self): - # Reporting with no data produces a nice message and no output dir. + # Reporting with no data produces a nice message and no output + # directory. with self.assertRaisesRegex(CoverageException, "No data to report."): self.command_line("html -d htmlcov") self.assert_doesnt_exist("htmlcov") diff --git a/tests/test_data.py b/tests/test_data.py index b370aa21..3c2b5728 100644 --- a/tests/test_data.py +++ b/tests/test_data.py @@ -349,7 +349,7 @@ class CoverageDataTest(DataTestHelpers, CoverageTest): class CoverageDataTestInTempDir(DataTestHelpers, CoverageTest): - """Tests of CoverageData that need a temp dir to make files.""" + """Tests of CoverageData that need a temporary directory to make files.""" def test_read_write_lines(self): covdata1 = CoverageData() diff --git a/tests/test_farm.py b/tests/test_farm.py index daa83d92..89e6225e 100644 --- a/tests/test_farm.py +++ b/tests/test_farm.py @@ -346,7 +346,7 @@ class FarmTestCase(object): def doesnt_contain(self, filename, *strlist): """Check that the file contains none of a list of strings. - An assert will be raised if any of the strings in strlist appears in + An assert will be raised if any of the strings in `strlist` appears in `filename`. """ |