Skip to content

TST: Catch Warnings in tests #8397

Closed
Closed
@TomAugspurger

Description

@TomAugspurger

If only to have nicer looking test output.

.../Users/tom/Envs/py3/lib/python3.4/site-packages/pandas/pandas/tools/plotting.py:3229: UserWarning: To output multiple subplots, the figure containing the passed axes is being cleared
  "is being cleared", UserWarning)
../Users/tom/Envs/py3/lib/python3.4/site-packages/pandas/pandas/tools/plotting.py:3212: UserWarning: When passing multiple axes, sharex and sharey are ignored.These settings must be specified when creating axes
  "These settings must be specified when creating axes", UserWarning)
............................S..S.../Users/tom/Envs/py3/lib/python3.4/site-packages/matplotlib-1.5.x-py3.4-macosx-10.9-x86_64.egg/matplotlib/axes/_axes.py:475: UserWarning: No labelled objects found. Use label='...' kwarg on individual plots.
  warnings.warn("No labelled objects found. "
.S.............................................../Users/tom/Envs/py3/lib/python3.4/site-packages/pandas/pandas/tools/plotting.py:3209: UserWarning: When passing multiple axes, layout keyword is ignored
  warnings.warn("When passing multiple axes, layout keyword is ignored", UserWarning)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Testingpandas testing functions or related to the test suite

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions