##// END OF EJS Templates
Allow 'iptest IPython.lib' as well as 'iptest lib'
Thomas Kluyver -
Show More
@@ -368,11 +368,14 b' def run_iptest():'
368 warnings.filterwarnings('ignore',
368 warnings.filterwarnings('ignore',
369 'This will be removed soon. Use IPython.testing.util instead')
369 'This will be removed soon. Use IPython.testing.util instead')
370
370
371 if sys.argv[1] in test_sections:
371 arg1 = sys.argv[1]
372 section = test_sections[sys.argv[1]]
372 if arg1 in test_sections:
373 section = test_sections[arg1]
374 sys.argv[1:2] = section.includes
375 elif arg1.startswith('IPython.') and arg1[8:] in test_sections:
376 section = test_sections[arg1[8:]]
373 sys.argv[1:2] = section.includes
377 sys.argv[1:2] = section.includes
374 else:
378 else:
375 arg1 = sys.argv[1]
376 section = TestSection(arg1, includes=[arg1])
379 section = TestSection(arg1, includes=[arg1])
377
380
378
381
General Comments 0
You need to be logged in to leave comments. Login now