diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2016-01-04 09:31:55 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2016-01-04 09:31:55 -0500 |
commit | 6e50c427ea3be052cb976cfadda31f25bd06181c (patch) | |
tree | e58070d88c8b6b6d8acf574444d5010cc5b3f513 /coverage/test_helpers.py | |
parent | 3cf8dd01dcef141902604567b537224d6918ba67 (diff) | |
download | python-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.py | 6 |
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): |