mirror of
https://github.com/certbot/certbot.git
synced 2026-01-23 07:20:55 +03:00
Fixes a failing test on Python 3.3:
======================================================================
FAIL: test_json_dumps_pretty (acme.jose.interfaces_test.JSONDeSerializableTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/mg/src/letsencrypt/acme/acme/jose/interfaces_test.py", line 97, in test_json_dumps_pretty
'[\n "foo1",{0}\n "foo2"\n]'.format(filler))
AssertionError: '[\n "foo1", \n "foo2"\n]' != '[\n "foo1",\n "foo2"\n]'
[
- "foo1",
? -
+ "foo1",
"foo2"
]
----------------------------------------------------------------------
(The test expected trailing whitespace on Python < 3.0, while it
should've been checking for Python < 3.4.)
ACME protocol implementation in Python