summaryrefslogtreecommitdiff
path: root/tests/postgres_tests/test_hstore.py
diff options
context:
space:
mode:
authorClaude Paroz <claude@2xlibre.net>2017-03-04 15:47:49 +0100
committerClaude Paroz <claude@2xlibre.net>2017-03-04 18:18:21 +0100
commit8346680e1ca4a8ddc8190baf3f5f944f6418d5cf (patch)
treeed12bc1d1077a65c1b32d410bc267266f6e3e4f9 /tests/postgres_tests/test_hstore.py
parent86de930f413e0ad902e11d78ac988e6743202ea6 (diff)
downloaddjango-8346680e1ca4a8ddc8190baf3f5f944f6418d5cf.tar.gz
Refs #27795 -- Removed unneeded force_text calls
Thanks Tim Graham for the review.
Diffstat (limited to 'tests/postgres_tests/test_hstore.py')
-rw-r--r--tests/postgres_tests/test_hstore.py4
1 files changed, 2 insertions, 2 deletions
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()