Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

consistent capitalisation across matchers

  • Loading branch information...
commit d3ec3a4b892a7533f31f9d32c02cfb036c48a7f2 1 parent 0664b0c
Tim Cuthbertson authored
2  mocktest/matchers/collections.py
View
@@ -86,7 +86,7 @@ def matches(self, other):
return other in self.collection
def desc(self):
- return "An item from the collection: %r" % (self.collection,)
+ return "an item from the collection: %r" % (self.collection,)
object_containing = IncludeMatcher
dict_containing = DictIncludeMatcher
2  mocktest/matchers/type_matcher.py
View
@@ -31,7 +31,7 @@ def matches(self, other):
return isinstance(other, self.cls)
def desc(self):
- return "Any instance of %s" % (self.cls.__name__,)
+ return "any instance of %s" % (self.cls.__name__,)
class ObjectWithAttribute(Matcher):
def __init__(self, attr_name):
Please sign in to comment.
Something went wrong with that request. Please try again.