diff options
author | Jakub Wilk <jwilk@jwilk.net> | 2016-05-14 12:28:40 +0200 |
---|---|---|
committer | Jakub Wilk <jwilk@jwilk.net> | 2016-05-16 17:19:53 +0200 |
commit | 74b15cc64c83f788cb58a95b120b9b223d5ed5cf (patch) | |
tree | 1aa0f139f9581b0b579cedec6708183e6caa9791 /tests/util.py | |
parent | 12b83372ac9316e8cbe86e7fed889296a4cc29ee (diff) | |
download | sphinx-git-74b15cc64c83f788cb58a95b120b9b223d5ed5cf.tar.gz |
Fix format string in assert_in()/assert_not_in()
Diffstat (limited to 'tests/util.py')
-rw-r--r-- | tests/util.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/util.py b/tests/util.py index 454cc0d9c..b3f5e01d9 100644 --- a/tests/util.py +++ b/tests/util.py @@ -109,10 +109,10 @@ try: except ImportError: def assert_in(x, thing, msg=''): if x not in thing: - assert False, msg or '%r is not in %r%r' % (x, thing) + assert False, msg or '%r is not in %r' % (x, thing) def assert_not_in(x, thing, msg=''): if x in thing: - assert False, msg or '%r is in %r%r' % (x, thing) + assert False, msg or '%r is in %r' % (x, thing) def skip_if(condition, msg=None): |