From 8346680e1ca4a8ddc8190baf3f5f944f6418d5cf Mon Sep 17 00:00:00 2001 From: Claude Paroz Date: Sat, 4 Mar 2017 15:47:49 +0100 Subject: Refs #27795 -- Removed unneeded force_text calls Thanks Tim Graham for the review. --- tests/postgres_tests/test_hstore.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/postgres_tests/test_hstore.py') diff --git a/tests/postgres_tests/test_hstore.py b/tests/postgres_tests/test_hstore.py index 2c6f93f1f6..09d2de1017 100644 --- a/tests/postgres_tests/test_hstore.py +++ b/tests/postgres_tests/test_hstore.py @@ -42,8 +42,8 @@ class SimpleTests(HStoreTestCase): self.assertEqual(reloaded.field, value) def test_key_val_cast_to_string(self): - value = {'a': 1, 'b': 'B', 2: 'c', 'ï': 'ê', b'x': b'test'} - expected_value = {'a': '1', 'b': 'B', '2': 'c', 'ï': 'ê', 'x': 'test'} + value = {'a': 1, 'b': 'B', 2: 'c', 'ï': 'ê'} + expected_value = {'a': '1', 'b': 'B', '2': 'c', 'ï': 'ê'} instance = HStoreModel.objects.create(field=value) instance = HStoreModel.objects.get() -- cgit v1.2.1