aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_base.py
diff options
context:
space:
mode:
authorGravatar MarkKoz <[email protected]>2020-04-28 16:18:34 -0700
committerGravatar MarkKoz <[email protected]>2020-04-28 16:18:34 -0700
commit1e4766d9934396a72cc759649049b07e5814004a (patch)
tree55c289665692fedfecbc32bd70098fd1fc33076a /tests/test_base.py
parentUse 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