summaryrefslogtreecommitdiff
path: root/tests/signing
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2017-02-07 12:05:47 -0500
committerTim Graham <timograham@gmail.com>2017-02-09 09:03:47 -0500
commit500532c95db40b0b24654be7bb0d76b66b022bd5 (patch)
tree761766d7138652703e566ac9c96960a265f036ff /tests/signing
parent21f13ff5b3d5a42d62f38398c010efcdce30dad7 (diff)
downloaddjango-500532c95db40b0b24654be7bb0d76b66b022bd5.tar.gz
Refs #23919 -- Removed default 'utf-8' argument for str.encode()/decode().
Diffstat (limited to 'tests/signing')
-rw-r--r--tests/signing/tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/signing/tests.py b/tests/signing/tests.py
index 5969e3cc1c..8e0cb0dc3b 100644
--- a/tests/signing/tests.py
+++ b/tests/signing/tests.py
@@ -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),