commit | 9d65e68959a50e6f7972f36f521f357e067d77a9 | [log] [tgz] |
---|---|---|
author | wbond <will@wbond.net> | Mon Aug 24 09:38:56 2015 -0400 |
committer | wbond <will@wbond.net> | Mon Aug 24 09:38:56 2015 -0400 |
tree | 6d9d047cfdc3db7a1406910c6eee98a697d3ae4c | |
parent | 6e4af277f750f726db84ff03cc7e36e7df11dd53 [diff] [blame] |
Added unittest patches for Python 2.6
diff --git a/tests/test_csr.py b/tests/test_csr.py index 9cc8a8b..7e9dbd5 100644 --- a/tests/test_csr.py +++ b/tests/test_csr.py
@@ -6,6 +6,9 @@ import os from asn1crypto import csr, util +from ._unittest_compat import patch + +patch() if sys.version_info < (3,): byte_cls = str