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
commit66fb1397390db71b62a58aef77911cf354ee597d (patch)
tree4de059aa593d02a6077cc7432c73b08b9dbd7190 /coverage/test_helpers.py
parent97563bd21e4a93246d26ad18c5085dd00abb1076 (diff)
downloadpython-coveragepy-66fb1397390db71b62a58aef77911cf354ee597d.tar.gz
Clarify when delayed_assertions is known to work.
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 1d606aa..a76bed3 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):