summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rwxr-xr-xtests/test_tablib.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_tablib.py b/tests/test_tablib.py
index 77f2ef6..4318d7d 100755
--- a/tests/test_tablib.py
+++ b/tests/test_tablib.py
@@ -1012,7 +1012,7 @@ class DBFTests(BaseTestCase):
for reg_char, data_char in zip(_dbf, data.dbf):
so_far += chr(data_char)
if reg_char != data_char and index not in [1, 2, 3]:
- raise AssertionError('Failing at char %s: %s vs %s %s' % (
+ raise AssertionError('Failing at char {}: {} vs {} {}'.format(
index, reg_char, data_char, so_far))
index += 1
@@ -1055,7 +1055,7 @@ class DBFTests(BaseTestCase):
# found_so_far += chr(data_char)
if reg_char != data_char and index not in [1, 2, 3]:
raise AssertionError(
- 'Failing at char %s: %s vs %s (found %s)' % (
+ 'Failing at char {}: {} vs {} (found {})'.format(
index, reg_char, data_char, found_so_far))
index += 1