| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
* Replace unittest.makeSuite with unittest.TestLoader().loadTestsFromTestCase
* import unittest from relative import
|
| |
|
|
|
|
|
|
|
| |
Specially replace complicated construct with unittest2 to one import to
M2Crypto top module.
Also, Rand.load_file should have first parameter as bytes(), not str().
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
I used the output of "2to3 -f import M2Crypto" to figure out
which imports needed to be fixed.
In addition, I added "from __future__ import absolute_import"
to all files that I touched. This brings in the new import behavior,
and works as far back as Python 2.5.0a1. See:
https://docs.python.org/3/library/__future__.html
https://www.python.org/dev/peps/pep-0328/
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
For Python 2 compatibility, import print_function from the __future__ module.
This works as far back as Python 2.6.0a2:
https://docs.python.org/2/library/__future__.html
|
|
|
|
|
|
|
| |
Originally workaround for the multiple runs of the testsuite of
M2Crypto running on the same machine (e.g., when it is build for
various archs), but generally random ports while testing are The
Right Thing™ anyway.
|
|
|
|
| |
Fixes #48
|
|
|
|
| |
git-svn-id: http://svn.osafoundation.org/m2crypto/trunk@543 2715db39-9adf-0310-9c64-84f055769b4b
|
|
|
|
|
|
|
|
| |
for example:
python setup.py test --test-suite=tests.test_x509 -q
git-svn-id: http://svn.osafoundation.org/m2crypto/trunk@504 2715db39-9adf-0310-9c64-84f055769b4b
|
|
|
|
|
|
| |
tests.
git-svn-id: http://svn.osafoundation.org/m2crypto/trunk@491 2715db39-9adf-0310-9c64-84f055769b4b
|
|
BIOs directly, original patch by Matt Rodriguez.
git-svn-id: http://svn.osafoundation.org/m2crypto/trunk@381 2715db39-9adf-0310-9c64-84f055769b4b
|