Skip to content

TST: random html testing issues #11060

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
jreback opened this issue Sep 11, 2015 · 0 comments · Fixed by #24572
Closed

TST: random html testing issues #11060

jreback opened this issue Sep 11, 2015 · 0 comments · Fixed by #24572
Labels
IO HTML read_html, to_html, Styler.apply, Styler.applymap Testing pandas testing functions or related to the test suite Unreliable Test Unit tests that occasionally fail
Milestone

Comments

@jreback
Copy link
Contributor

jreback commented Sep 11, 2015

I have seen these errors spuriously: https://travis-ci.org/jreback/pandas/jobs/79852164

but they go away when re-run...any ideas?

======================================================================
FAIL: test_to_html_truncate (pandas.tests.test_format.TestDataFrameFormatting)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/travis/build/jreback/pandas/pandas/tests/test_format.py", line 999, in test_to_html_truncate
    self.assertEqual(result, expected)
AssertionError: u'<div style="max-width:1500px;overflow:auto;">\n<table border="1" class="datafr [truncated]... != u'<div>\n<table border="1" class="dataframe">\n  <thead>\n    <tr style="text-al [truncated]...
Diff is 1759 characters long. Set self.maxDiff to None to see it.
======================================================================
FAIL: test_to_html_truncate_multi_index (pandas.tests.test_format.TestDataFrameFormatting)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/travis/build/jreback/pandas/pandas/tests/test_format.py", line 1115, in test_to_html_truncate_multi_index
    self.assertEqual(result, expected)
AssertionError: u'<div style="max-width:1500px;overflow:auto;">\n<table border="1" class="datafr [truncated]... != u'<div>\n<table border="1" class="dataframe">\n  <thead>\n    <tr>\n      <th></ [truncated]...
Diff is 2107 characters long. Set self.maxDiff to None to see it.
======================================================================
FAIL: test_to_html_truncate_multi_index_sparse_off (pandas.tests.test_format.TestDataFrameFormatting)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/travis/build/jreback/pandas/pandas/tests/test_format.py", line 1225, in test_to_html_truncate_multi_index_sparse_off
    self.assertEqual(result, expected)
AssertionError: u'<div style="max-width:1500px;overflow:auto;">\n<table border="1" class="datafr [truncated]... != u'<div>\n<table border="1" class="dataframe">\n  <thead>\n    <tr>\n      <th></ [truncated]...
Diff is 1877 characters long. Set self.maxDiff to None to see it.
----------------------------------------------------------------------
Ran 9032 tests in 947.494s
@jreback jreback added Testing pandas testing functions or related to the test suite IO HTML read_html, to_html, Styler.apply, Styler.applymap Unreliable Test Unit tests that occasionally fail labels Sep 11, 2015
@jreback jreback changed the title TST: random html formatting issues TST: random html testing issues Sep 11, 2015
@jreback jreback added this to the 0.24.0 milestone Jan 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
IO HTML read_html, to_html, Styler.apply, Styler.applymap Testing pandas testing functions or related to the test suite Unreliable Test Unit tests that occasionally fail
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant