diff options
| author | 2020-04-28 16:18:34 -0700 | |
|---|---|---|
| committer | 2020-04-28 16:18:34 -0700 | |
| commit | 1e4766d9934396a72cc759649049b07e5814004a (patch) | |
| tree | 55c289665692fedfecbc32bd70098fd1fc33076a /tests/test_base.py | |
| parent | Use await instead of asyncio.run in converter tests (diff) | |
Fix exception message assertions in converter tests
The `msg` arg is for displaying a message when the assertion fails. To
match against the exception's message, `assertRaisesRegex` must be used.
Since all of the messages are meant to be interpreted literally rather
than as regex, `re.escape` is used.
Diffstat (limited to 'tests/test_base.py')
0 files changed, 0 insertions, 0 deletions