summaryrefslogtreecommitdiff
path: root/tests/helpers.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2015-08-20 13:44:11 -0400
committerNed Batchelder <ned@nedbatchelder.com>2015-08-20 13:44:11 -0400
commit8e5e579f8b9b70345ff8b2ed6650040b73cc7574 (patch)
treee57aa138b3e0b6a8817bf592d737c40be88865ca /tests/helpers.py
parent4a2c55378422df624c9928327a493c7b2b9c7400 (diff)
downloadpython-coveragepy-8e5e579f8b9b70345ff8b2ed6650040b73cc7574.tar.gz
Fix 'filename' to be 'file name' in English.
Diffstat (limited to 'tests/helpers.py')
-rw-r--r--tests/helpers.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/helpers.py b/tests/helpers.py
index 3d6be14..aa094bc 100644
--- a/tests/helpers.py
+++ b/tests/helpers.py
@@ -29,7 +29,7 @@ def run_command(cmd):
class CheckUniqueFilenames(object):
- """Asserts the uniqueness of filenames passed to a function."""
+ """Asserts the uniqueness of file names passed to a function."""
def __init__(self, wrapped):
self.filenames = set()
self.wrapped = wrapped
@@ -45,7 +45,7 @@ class CheckUniqueFilenames(object):
def wrapper(self, filename, *args, **kwargs):
"""The replacement method. Check that we don't have dupes."""
assert filename not in self.filenames, (
- "Filename %r passed to %r twice" % (filename, self.wrapped)
+ "File name %r passed to %r twice" % (filename, self.wrapped)
)
self.filenames.add(filename)
ret = self.wrapped(filename, *args, **kwargs)