summaryrefslogtreecommitdiff
path: root/tests/serializers/test_data.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/serializers/test_data.py')
-rw-r--r--tests/serializers/test_data.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/serializers/test_data.py b/tests/serializers/test_data.py
index 121404a0ef..744c9d1a2b 100644
--- a/tests/serializers/test_data.py
+++ b/tests/serializers/test_data.py
@@ -170,7 +170,7 @@ def data_compare(testcase, pk, klass, data):
testcase.assertEqual(
bytes(data),
bytes(instance.data),
- "Objects with PK=%d not equal; expected '%s' (%s), got '%s' (%s)"
+ "Objects with PK=%s not equal; expected '%s' (%s), got '%s' (%s)"
% (
pk,
repr(bytes(data)),
@@ -183,7 +183,7 @@ def data_compare(testcase, pk, klass, data):
testcase.assertEqual(
data,
instance.data,
- "Objects with PK=%d not equal; expected '%s' (%s), got '%s' (%s)"
+ "Objects with PK=%s not equal; expected '%s' (%s), got '%s' (%s)"
% (
pk,
data,