1
0
mirror of https://github.com/django/django.git synced 2025-10-27 23:56:08 +00:00

Refs #23919 -- Removed default 'utf-8' argument for str.encode()/decode().

This commit is contained in:
Tim Graham
2017-02-07 12:05:47 -05:00
parent 21f13ff5b3
commit 500532c95d
32 changed files with 61 additions and 65 deletions

View File

@@ -14,7 +14,7 @@ class TestSigner(SimpleTestCase):
for s in (
b'hello',
b'3098247:529:087:',
'\u2019'.encode('utf-8'),
'\u2019'.encode(),
):
self.assertEqual(
signer.signature(s),