Skip to content

CI Failing: TestReadHtml.test_spam_url #28708 #28710

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

Merged
merged 3 commits into from
Oct 1, 2019

Conversation

ladyyvii
Copy link
Contributor

@ladyyvii ladyyvii commented Oct 1, 2019

  • closes CI Failing: TestReadHtml.test_spam_url #28708
  • tests added / passed
  • passes black pandas
  • passes git diff upstream/master -u -- "*.py" | flake8 --diff
  • fixed test_spam_url test by changing a url address to the same html page stored in the pandas github repo

@jreback jreback added CI Continuous Integration IO HTML read_html, to_html, Styler.apply, Styler.applymap labels Oct 1, 2019
@jreback jreback added this to the 1.0 milestone Oct 1, 2019
@jreback
Copy link
Contributor

jreback commented Oct 1, 2019

lgtm merge on green.

@jreback
Copy link
Contributor

jreback commented Oct 1, 2019

is this a new failure? https://travis-ci.org/pandas-dev/pandas/jobs/591987317
@jorisvandenbossche @simonjayhawkins

_______________ TestReadHtml.test_thousands_macau_index_col[bs4] _______________
[gw0] linux -- Python 3.6.9 /home/travis/miniconda3/envs/pandas-dev/bin/python
self = <pandas.tests.io.test_html.TestReadHtml object at 0x7fa2b70d77f0>
datapath = <function datapath.<locals>.deco at 0x7fa2bbdc30d0>
    @pytest.mark.slow
    def test_thousands_macau_index_col(self, datapath):
        all_non_nan_table_index = -2
        macau_data = datapath("io", "data", "macau.html")
>       dfs = self.read_html(macau_data, index_col=0, header=0)
pandas/tests/io/test_html.py:390: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
pandas/io/html.py:1103: in read_html
    displayed_only=displayed_only,
pandas/io/html.py:919: in _parse
    raise_with_traceback(retained)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
exc = AttributeError("'NoneType' object has no attribute 'items'",)
traceback = None
    def raise_with_traceback(exc, traceback=Ellipsis):
        """
        Raise exception with existing traceback.
        If traceback is not passed, uses sys.exc_info() to get traceback.
        """
        if traceback == Ellipsis:
            _, _, traceback = sys.exc_info()
>       raise exc.with_traceback(traceback)
E       AttributeError: 'NoneType' object has no attribute 'items'
pandas/compat/__init__.py:47: AttributeError

@jorisvandenbossche jorisvandenbossche merged commit 182abe7 into pandas-dev:master Oct 1, 2019
@jorisvandenbossche
Copy link
Member

Thanks @ladyyvii !

@jreback no, that is already failing on master as well.

@jorisvandenbossche jorisvandenbossche modified the milestones: 1.0, 0.25.2 Oct 1, 2019
@jorisvandenbossche
Copy link
Member

@meeseeksdev backport 0.25.x

@simonjayhawkins
Copy link
Member

is this a new failure? https://travis-ci.org/pandas-dev/pandas/jobs/591987317

see #28125, tests pass with beautifulsoup4 4.7.1, fails with 4.8.0.

@ladyyvii ladyyvii deleted the CI_failing_fix branch October 1, 2019 13:07
@ladyyvii
Copy link
Contributor Author

ladyyvii commented Oct 1, 2019

thanks, guys! It was my first PR to open source :-)

@jorisvandenbossche
Copy link
Member

thanks, guys! It was my first PR to open source :-)

And already more PRs open I see ! ;)

proost pushed a commit to proost/pandas that referenced this pull request Dec 19, 2019
proost pushed a commit to proost/pandas that referenced this pull request Dec 19, 2019
bongolegend pushed a commit to bongolegend/pandas that referenced this pull request Jan 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI Continuous Integration IO HTML read_html, to_html, Styler.apply, Styler.applymap
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CI Failing: TestReadHtml.test_spam_url
4 participants