summaryrefslogtreecommitdiff
path: root/tests/backends
diff options
context:
space:
mode:
authorJon Dufresne <jon.dufresne@gmail.com>2020-04-18 07:46:05 -0700
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2020-04-20 12:10:33 +0200
commit505fec6badba0622bbf97bb659188c3d62a9bc58 (patch)
treeca5c256eb32d7f9906c59652049a45690458b52b /tests/backends
parent3152146e3abd029be2457d2e780599d399db0fe2 (diff)
Capitalized Unicode in docs, strings, and comments.
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