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

PR: Move rope_patch.py to utils/introspection #3853

Merged
merged 6 commits into from
Dec 17, 2016

Conversation

ccordoba12
Copy link
Member

@ccordoba12 ccordoba12 commented Dec 17, 2016

Also add pytest's for rope_plugin.

@ccordoba12 ccordoba12 added this to the v3.1 milestone Dec 17, 2016
@ccordoba12 ccordoba12 changed the title Move rope_patch.py to utils/introspection PR: Move rope_patch.py to utils/introspection Dec 17, 2016
@ccordoba12 ccordoba12 merged commit 4d14a4e into spyder-ide:3.x Dec 17, 2016
@ccordoba12 ccordoba12 deleted the move-rope-patch branch December 17, 2016 22:38
ccordoba12 added a commit that referenced this pull request Dec 17, 2016
@rlaverde
Copy link
Member

test_get_info is failing for me, I tested with defaults and conda-forge channels:
numpy 1.11.2 py35_0

numpy 1.11.2 py35_blas_openblas_200 [blas_openblas] conda-forge

    @pytest.mark.skipif(not numpy, reason="Numpy required")
    def test_get_info():
        source_code = "import numpy; numpy.ones"
        docs = p.get_info(CodeInfo('info', source_code, len(source_code), __file__))
>       assert docs['calltip'].startswith('ones(') and docs['name'] == 'ones'
E       assert (True and 'numpy.core.numeric.ones' == 'ones'
E        +  where True = <built-in method startswith of str object at 0x7f0e2bd21500>('ones(')
E        +    where <built-in method startswith of str object at 0x7f0e2bd21500> = "ones(shape, dtype=None, order='C')".startswith
E         - numpy.core.numeric.ones
E         + ones)

Have I something wrong with my local configuration? I recreate the enviroment with conda create -n spyder spyder python=3.5, conda install pytest pytest-cov pytest-qt numpy pandas, and It's still happening

@ccordoba12
Copy link
Member Author

I tested it locally and it works fine for me, but I'll try to reproduce it with your commands

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.

2 participants