| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Fixes #331
|
|
|
|
|
|
|
| |
Restores Python pre-3.8 multiprocessing start method when running
test_readline() under MacOS.
Fixes #286
|
| |
|
|
|
|
|
| |
* 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().
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Instead of unicode use six.text_type
* Use bio_new_file in openfile
The previously bio_new_fd does not work for unknown reason.
I am not sure if _new_file is a reasonable fix for python3 io
not based on FILE*, but ... it makes part of test_evp passing.
* avoid bytes/str issues.
* File: use fd based approach
Use file descriptor instead of filename, when opening BIO.File
Fix a few issues in test_bio_file:
* in tearDown close the fd opened in setUp, not the filename, so test
no longer leaks file descriptors
* add a hacky check for the fd leak between tests
* fix a few ResourceWarnings by closing opened files
|
| |
|
|
|
|
| |
also fix for https://bugzilla.osafoundation.org/show_bug.cgi?id=12972
|
|
|
|
|
| |
We need to catch whatever comes our way, even though we may throw it
away.
|
| |
|
|
|
|
|
| |
The bug so ancient it has even its own answer on the StackOverflow
(http://stackoverflow.com/questions/9280550/)!
|
| |
|
|
|
|
|
|
| |
Also, add some tests.
Fix #81
|
|
|
|
|
|
|
| |
Just run
$ find . -name \*.py -exec sed -r -i -e "s/\t/ /g" '{}' \;
$ find . -name \*.py -exec sed -r -i -e "s/[ ]+$//" '{}' \;
|
| |
|
| |
|
|
|
|
| |
Fixes #48
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
bloat, and made working with diffs more difficult than it needed to.
git-svn-id: http://svn.osafoundation.org/m2crypto/trunk@383 2715db39-9adf-0310-9c64-84f055769b4b
|
|
|
|
| |
git-svn-id: http://svn.osafoundation.org/m2crypto/trunk@299 2715db39-9adf-0310-9c64-84f055769b4b
|
|
|
|
| |
git-svn-id: http://svn.osafoundation.org/m2crypto/trunk@141 2715db39-9adf-0310-9c64-84f055769b4b
|
|
git-svn-id: http://svn.osafoundation.org/m2crypto/trunk@77 2715db39-9adf-0310-9c64-84f055769b4b
|