test discovery for glymur.runtests fixed on python2.6
This commit is contained in:
parent
f0dfe39932
commit
643f956e0c
2 changed files with 5 additions and 2 deletions
|
|
@ -11,6 +11,9 @@ from . import test
|
|||
def runtests():
|
||||
"""Discover and run all tests for the glymur package.
|
||||
"""
|
||||
import unittest
|
||||
if sys.hexversion <= 0x02070000:
|
||||
import unittest2 as unittest
|
||||
else:
|
||||
import unittest
|
||||
suite = unittest.defaultTestLoader.discover(__path__[0])
|
||||
unittest.TextTestRunner(verbosity=2).run(suite)
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@
|
|||
| Fedora | | X | | Ships with 1.4.0. 167 of 445 tests |
|
||||
| 17 | | | | should pass. |
|
||||
+---------+--------+--------+--------+---------------------------------------+
|
||||
| CentOS | X | | | Ships with 1.3.0. 166 of 445 tests |
|
||||
| CentOS | X | | | Ships with 1.3.0. 165 of 445 tests |
|
||||
| 6.3 | | | | should pass. |
|
||||
+---------+--------+--------+--------+---------------------------------------+
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue