-
-
Notifications
You must be signed in to change notification settings - Fork 18.6k
refactor styler tests #39946
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
refactor styler tests #39946
Conversation
.set_tooltips_class(name="other-class", properties=[("color", "green")]) | ||
.render() | ||
) | ||
assert "#T__ .other-class {\n color: green;\n" in s |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
split to more modules, e.g. tooltips to separate, the highlite* to a separate on, and rename this to align
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
|
||
|
||
@td.skip_if_no_mpl | ||
class TestStylerMatplotlibDep: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
move to this to test_matplotlib.py
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could not find. used existing file tests/plotting/test_style.py
instead. test_misc.py
also seemed a good alternative.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
these are all new modules.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
duh.. my bad, assumed you were pointing to existing file
# Conflicts: # pandas/tests/io/formats/style/test_style.py
great thanks @attack68 |
splits
test_style.py
tostyle/test_style.py
andstyle/test_builtins.py
, with the simple classification of being related tocore
functionality or addedextensions
.