Skip to content

CI : jedi deprecation warnings fails CI #33567

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 Apr 15, 2020 · 0 comments · Fixed by #33566
Closed

CI : jedi deprecation warnings fails CI #33567

charlesdong1991 opened this issue Apr 15, 2020 · 0 comments · Fixed by #33566
Labels
CI Continuous Integration
Milestone

Comments

@charlesdong1991
Copy link
Member

ip = <IPython.core.interactiveshell.InteractiveShell object at 0x7f10269bd910>

    @async_mark()
    async def test_tab_complete_warning(self, ip):
        # GH 16409
        pytest.importorskip("IPython", minversion="6.0.0")
        from IPython.core.completer import provisionalcompleter
    
        code = "import pandas as pd; df = pd.DataFrame()"
        await ip.run_code(code)
        with tm.assert_produces_warning(None):
            with provisionalcompleter("ignore"):
>               list(ip.Completer.completions("df.", 1))

pandas/tests/frame/test_api.py:534: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <contextlib._GeneratorContextManager object at 0x7f10264bc190>
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('Providing the line is now done in the functions themselves like `Script(...).complete(line, column)`'), '/home/vsts/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/jedi/api/__init__.py', 843), ('DeprecationWarning', DeprecationWarning('Providing the column is now done in the functions themselves like `Script(...).complete(line, column)`'), '/home/vsts/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/jedi/api/__init__.py', 843), ('DeprecationWarning', DeprecationWarning('Deprecated since version 0.16.0. Use Script(...).complete instead.'), '/home/vsts/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/IPython/core/completer.py', 1401)]
@charlesdong1991 charlesdong1991 added Bug Needs Triage Issue that has not been reviewed by a pandas team member CI Continuous Integration and removed Bug Needs Triage Issue that has not been reviewed by a pandas team member labels Apr 15, 2020
@jreback jreback added this to the 1.1 milestone Apr 15, 2020
@simonjayhawkins simonjayhawkins modified the milestones: 1.1, 1.0.4 May 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI Continuous Integration
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants