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 | 66fb1397390db71b62a58aef77911cf354ee597d (patch) | |
| tree | 4de059aa593d02a6077cc7432c73b08b9dbd7190 | |
| parent | 97563bd21e4a93246d26ad18c5085dd00abb1076 (diff) | |
| download | python-coveragepy-66fb1397390db71b62a58aef77911cf354ee597d.tar.gz | |
Clarify when delayed_assertions is known to work.
| -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 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): |
