Capitalized Unicode in docs, strings, and comments.

This commit is contained in:
Jon Dufresne 2020-04-18 07:46:05 -07:00 committed by Mariusz Felisiak
parent 3152146e3a
commit 505fec6bad
33 changed files with 41 additions and 41 deletions

View file

@ -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