Skip to content

CI: seems jedi caused ci to fail in certain versions #31324

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

Closed
charlesdong1991 opened this issue Jan 26, 2020 · 0 comments · Fixed by #31323
Closed

CI: seems jedi caused ci to fail in certain versions #31324

charlesdong1991 opened this issue Jan 26, 2020 · 0 comments · Fixed by #31323
Labels
CI Continuous Integration Dependencies Required and optional dependencies
Milestone

Comments

@charlesdong1991
Copy link
Member

self = <pandas.tests.indexes.test_base.TestIndex object at 0x7f666b28c990>
ip = <IPython.core.interactiveshell.InteractiveShell object at 0x7f666b28ccd0>

    @async_mark()
    async def test_tab_complete_warning(self, ip):
        # ***/issues/16409
        pytest.importorskip("IPython", minversion="6.0.0")
        from IPython.core.completer import provisionalcompleter
    
        code = "import pandas as pd; idx = pd.Index([1, 2])"
        await ip.run_code(code)
        with tm.assert_produces_warning(None):
            with provisionalcompleter("ignore"):
>               list(ip.Completer.completions("idx.", 4))

pandas/tests/indexes/test_base.py:2418: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <contextlib._GeneratorContextManager object at 0x7f666b2a0a50>
type = None, value = None, traceback = None

    def __exit__(self, type, value, traceback):
        if type is None:
            try:
>               next(self.gen)
E               AssertionError: Caused unexpected warning(s): [('DeprecationWarning', DeprecationWarning('Deprecated since version 0.16.0. Use get_signatures()[...].params'), '/home/vsts/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/jedi/cache.py', 111)]
@jreback jreback added the CI Continuous Integration label Jan 27, 2020
@simonjayhawkins simonjayhawkins added the Dependencies Required and optional dependencies label Jan 27, 2020
@jreback jreback added this to the 1.0.0 milestone Jan 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI Continuous Integration Dependencies Required and optional dependencies
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants