##// END OF EJS Templates
Remove yield test that are not support by pytest anymore...
Remove yield test that are not support by pytest anymore And remove comparison of str/unicode as it is not relevant anymore as both are the same. We can now unpin pytest as well, which we should make sure is in release notes and in the conda-forge recipe As nose does not understand `@parametrize`, and the nose `@skip` decorator messes with that as well, we mark tests with parametrize as not-tests for iptests

File last commit:

r22963:2961b531
r26183:61376395
Show More
iptest.py
18 lines | 485 B | text/x-python | PythonLexer
Fernando Perez
Added Nose support for IPython doctests and extension modules.
r1334 #!/usr/bin/env python
"""Nose-based test runner.
"""
from nose.core import main
from nose.plugins.builtin import plugins
from nose.plugins.doctests import Doctest
Thomas Kluyver
Use explicit relative imports...
r13347 from . import ipdoctest
from .ipdoctest import IPDocTestRunner
Fernando Perez
Added Nose support for IPython doctests and extension modules.
r1334
if __name__ == '__main__':
Thomas Kluyver
Convert print statements to print function calls...
r13348 print('WARNING: this code is incomplete!')
print()
Fernando Perez
Added Nose support for IPython doctests and extension modules.
r1334
pp = [x() for x in plugins] # activate all builtin plugins first
main(testRunner=IPDocTestRunner(),
plugins=pp+[ipdoctest.IPythonDoctest(),Doctest()])