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_x509.py b/tests/test_x509.py index 1843196..83463eb 100644 --- a/tests/test_x509.py +++ b/tests/test_x509.py
@@ -9,6 +9,9 @@ from asn1crypto import x509, core, pem, util from .unittest_data import DataDecorator, data +from ._unittest_compat import patch + +patch() if sys.version_info < (3,): byte_cls = str