summaryrefslogtreecommitdiff
path: root/coverage/test_helpers.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2016-01-04 09:31:55 -0500
committerNed Batchelder <ned@nedbatchelder.com>2016-01-04 09:31:55 -0500
commit6e50c427ea3be052cb976cfadda31f25bd06181c (patch)
treee58070d88c8b6b6d8acf574444d5010cc5b3f513 /coverage/test_helpers.py
parent3cf8dd01dcef141902604567b537224d6918ba67 (diff)
downloadpython-coveragepy-git-6e50c427ea3be052cb976cfadda31f25bd06181c.tar.gz
Clarify when delayed_assertions is known to work.
--HG-- branch : ast-branch
Diffstat (limited to 'coverage/test_helpers.py')
-rw-r--r--coverage/test_helpers.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/coverage/test_helpers.py b/coverage/test_helpers.py
index 1d606aae..a76bed35 100644
--- a/coverage/test_helpers.py
+++ b/coverage/test_helpers.py
@@ -198,7 +198,11 @@ class DelayedAssertionMixin(TestCase):
All of the assertions will run. The failures will be displayed at the end
of the with-statement.
- NOTE: only works with some assert methods, I'm not sure which!
+ NOTE: this only works with some assertions. These are known to work:
+
+ - `assertEqual(str, str)`
+
+ - `assertMultilineEqual(str, str)`
"""
def __init__(self, *args, **kwargs):