Show More
@@ -499,6 +499,14 b' def default_options():' | |||
|
499 | 499 | return options |
|
500 | 500 | |
|
501 | 501 | def main(): |
|
502 | # iptest doesn't work correctly if the working directory is the | |
|
503 | # root of the IPython source tree. Tell the user to avoid | |
|
504 | # frustration. | |
|
505 | if os.path.exists(os.path.join(os.getcwd(), | |
|
506 | 'IPython', 'testing', '__main__.py')): | |
|
507 | print("Don't run iptest from the IPython source directory", | |
|
508 | file=sys.stderr) | |
|
509 | sys.exit(1) | |
|
502 | 510 | # Arguments after -- should be passed through to nose. Argparse treats |
|
503 | 511 | # everything after -- as regular positional arguments, so we separate them |
|
504 | 512 | # first. |
General Comments 0
You need to be logged in to leave comments.
Login now