예제 #1
0
if __name__ == '__main__':
    from IPython.testing import iptestcontroller
    iptestcontroller.main()
예제 #2
0
# coding: utf-8

"""
Small wrapper around IPythons testing runner

It calls iptest with 'ipyext' as testgroup. You can pass
arguments to nose by appending them after '--'
"""
from __future__ import print_function

from IPython.testing.iptestcontroller import main
import sys

if '--coverage' in sys.argv:
    print("Coverage will not see any data (because tests work via ipythons '.run_cell()'?)")

# add our testgroup at the beginning of the arguments to iptest
sys.argv[1:1] = ["ipyext"]

main()
예제 #3
0
# -*- coding: utf-8 -*-
import re
import sys

from IPython.testing.iptestcontroller import main

if __name__ == '__main__':
    sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
    sys.exit(main())
예제 #4
0
if __name__ == '__main__':
    import sys
    from IPython.testing.iptestcontroller import main

    sys.exit(main())
예제 #5
0
if __name__ == '__main__':
    from IPython.testing import iptestcontroller
    iptestcontroller.main()