##// END OF EJS Templates
Prepare some test for pytest in completers....
Prepare some test for pytest in completers. swap the context manager and the function definition. It is undefined wither the test are collected and then run at once; or ran while they are being yielded. In the fist case (what pytest does) the function was called outside the context manager, in the later case (node) it was working as expected.

File last commit:

r21337:03608cd1
r25093:17c73977
Show More
__main__.py
3 lines | 100 B | text/x-python | PythonLexer
MinRK
add `python -m` entry points for everything
r14009 if __name__ == '__main__':
Min RK
ipython_kernel is now ipykernel
r21337 from ipykernel import kernelapp as app
MinRK
add `python -m` entry points for everything
r14009 app.launch_new_instance()