mirror of
https://github.com/django/django.git
synced 2025-08-30 23:37:50 +00:00
Capitalized Unicode in docs, strings, and comments.
This commit is contained in:
parent
3152146e3a
commit
505fec6bad
33 changed files with 41 additions and 41 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue