Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignore sys.argv for NotebookNotary in tests #4966

Merged
merged 1 commit into from Jan 31, 2014

Conversation

takluyver
Copy link
Member

This was causing failures on SP because BaseIPythonApplication was trying to parse nose flags like --with-xunit.

@takluyver
Copy link
Member Author

Thinking about it some more, I feel like there's something wrong with the abstraction here - NotebookNotary shouldn't be trying to find or create an Application instance. @minrk , let's have a chat about this when you get in.

@minrk
Copy link
Member

minrk commented Jan 31, 2014

I probably shouldn't be creating an Application, but it's a pain to create ProfileDir objects, handling all of the cases of whether directories exist, etc., and this is exactly what BaseIPythonApp does. I will have a go at improving ProfileDir creation later, but this fix should be fine for now.

minrk added a commit that referenced this pull request Jan 31, 2014
Ignore sys.argv in NotebookNotary

when creating a BaseIPythonApplication just for its profile_dir
@minrk minrk merged commit fbc198b into ipython:master Jan 31, 2014
mattvonrocketstein pushed a commit to mattvonrocketstein/ipython that referenced this pull request Nov 3, 2014
Ignore sys.argv in NotebookNotary

when creating a BaseIPythonApplication just for its profile_dir
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants