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

TST: CSSWarnings #16082

Closed
jreback opened this issue Apr 21, 2017 · 3 comments
Closed

TST: CSSWarnings #16082

jreback opened this issue Apr 21, 2017 · 3 comments
Labels
IO Excel read_excel, to_excel Output-Formatting __repr__ of pandas objects, to_string Testing pandas testing functions or related to the test suite
Milestone

Comments

@jreback
Copy link
Contributor

jreback commented Apr 21, 2017

(pandas) bash-3.2$ pytest pandas/tests/io/formats/test_css.py  -s
=========================================================================================== test session starts ===========================================================================================
platform darwin -- Python 3.6.1, pytest-3.0.7, py-1.4.32, pluggy-0.4.0
rootdir: /Users/jreback/pandas, inifile: setup.cfg
plugins: cov-2.3.1, xdist-1.15.0
collected 92 items 

pandas/tests/io/formats/test_css.py ....xx/Users/jreback/pandas/pandas/io/formats/css.py:248: CSSWarning: Ill-formatted attribute: expected a colon in "b=c')"
  'in %r' % decl, CSSWarning)
x/Users/jreback/pandas/pandas/io/formats/css.py:248: CSSWarning: Ill-formatted attribute: expected a colon in 'hello-world'
  'in %r' % decl, CSSWarning)
./Users/jreback/pandas/pandas/io/formats/css.py:248: CSSWarning: Ill-formatted attribute: expected a colon in ' hello-world'
  'in %r' % decl, CSSWarning)
./Users/jreback/pandas/pandas/io/formats/css.py:248: CSSWarning: Ill-formatted attribute: expected a colon in ' hello-world'
  'in %r' % decl, CSSWarning)
.xxxx/Users/jreback/pandas/pandas/io/formats/css.py:155: CSSWarning: Unhandled size: 'blah'
  warnings.warn('Unhandled size: %r' % in_val, CSSWarning)
./Users/jreback/pandas/pandas/io/formats/css.py:155: CSSWarning: Unhandled size: '1a2b'
  warnings.warn('Unhandled size: %r' % in_val, CSSWarning)
./Users/jreback/pandas/pandas/io/formats/css.py:155: CSSWarning: Unhandled size: '1e5pt'
  warnings.warn('Unhandled size: %r' % in_val, CSSWarning)
./Users/jreback/pandas/pandas/io/formats/css.py:155: CSSWarning: Unhandled size: '1+6pt'
  warnings.warn('Unhandled size: %r' % in_val, CSSWarning)
./Users/jreback/pandas/pandas/io/formats/css.py:155: CSSWarning: Unhandled size: '1unknownunit'
  warnings.warn('Unhandled size: %r' % in_val, CSSWarning)
./Users/jreback/pandas/pandas/io/formats/css.py:155: CSSWarning: Unhandled size: '10'
  warnings.warn('Unhandled size: %r' % in_val, CSSWarning)
./Users/jreback/pandas/pandas/io/formats/css.py:155: CSSWarning: Unhandled size: '10 pt'
  warnings.warn('Unhandled size: %r' % in_val, CSSWarning)
./Users/jreback/pandas/pandas/io/formats/css.py:219: CSSWarning: Could not expand "margin: 1pt 1pt 1pt 1pt 1pt"
  CSSWarning)
./Users/jreback/pandas/pandas/io/formats/css.py:219: CSSWarning: Could not expand "padding: 1pt 1pt 1pt 1pt 1pt"
  CSSWarning)
./Users/jreback/pandas/pandas/io/formats/css.py:219: CSSWarning: Could not expand "border-width: 1pt 1pt 1pt 1pt 1pt"
  CSSWarning)
./Users/jreback/pandas/pandas/io/formats/css.py:219: CSSWarning: Could not expand "border-color: 1pt 1pt 1pt 1pt 1pt"
  CSSWarning)
./Users/jreback/pandas/pandas/io/formats/css.py:219: CSSWarning: Could not expand "border-style: 1pt 1pt 1pt 1pt 1pt"
  CSSWarning)
.xxxxxxx...........................................................

================================================================================== 78 passed, 14 xfailed in 0.32 seconds ==================================================================================
@jreback jreback added IO Excel read_excel, to_excel Output-Formatting __repr__ of pandas objects, to_string Testing pandas testing functions or related to the test suite labels Apr 21, 2017
@jreback jreback added this to the Next Major Release milestone Apr 21, 2017
@jreback
Copy link
Contributor Author

jreback commented Apr 21, 2017

cc @jnothman

are these normal? should we suppress them?

@jreback jreback modified the milestones: 0.20.0, Next Major Release Apr 22, 2017
@jreback
Copy link
Contributor Author

jreback commented Apr 22, 2017

closed by #16094

@jreback jreback closed this as completed Apr 22, 2017
@jnothman
Copy link
Contributor

Sorry, I'd presumed the pytest.warns context would silence them too. Thanks for fixing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
IO Excel read_excel, to_excel Output-Formatting __repr__ of pandas objects, to_string Testing pandas testing functions or related to the test suite
Projects
None yet
Development

No branches or pull requests

2 participants