summaryrefslogtreecommitdiff
path: root/tests/backends
diff options
context:
space:
mode:
Diffstat (limited to 'tests/backends')
-rw-r--r--tests/backends/tests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/backends/tests.py b/tests/backends/tests.py
index 40fc6de7fc..08bdac3437 100644
--- a/tests/backends/tests.py
+++ b/tests/backends/tests.py
@@ -317,7 +317,7 @@ class BackendTestCase(TransactionTestCase):
self.assertEqual(Square.objects.count(), 9)
def test_unicode_fetches(self):
- # fetchone, fetchmany, fetchall return strings as unicode objects #6254
+ # fetchone, fetchmany, fetchall return strings as Unicode objects.
qn = connection.ops.quote_name
Person(first_name="John", last_name="Doe").save()
Person(first_name="Jane", last_name="Doe").save()
@@ -349,7 +349,7 @@ class BackendTestCase(TransactionTestCase):
# As password is probably wrong, a database exception is expected
pass
except Exception as e:
- self.fail("Unexpected error raised with unicode password: %s" % e)
+ self.fail('Unexpected error raised with Unicode password: %s' % e)
finally:
connection.settings_dict['PASSWORD'] = old_password