Instead of using where , which is deprecated, use tests and specify a few tests:
[nosetests] tests=source_py2/test_python_toolbox, source_py3/test_python_toolbox
This will launch both test suites. For each test, at the very top, before the special language features are installed, add selection criteria to run the tests. For example, for source_py3 tests add:
import sys from unittest import SkipTest if sys.version_info < (3, 0): raise SkipTest("must use python 3.0 or greater")
With the nose of python2.6 you get:
S ---------------------------------------------------------------------- Ran 1 test in 0.001s OK (SKIP=1)
for every test module that has it. The ugly aspect is that you have to enter this code in every test case.
Oleksiy
source share