mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Capitalized Unicode in docs, strings, and comments.
This commit is contained in:
committed by
Mariusz Felisiak
parent
3152146e3a
commit
505fec6bad
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user