TST: move Styler format tests to own module#40641
Conversation
|
Hello @attack68! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:
|
This is quite odd since these lines are not long and don't have more than 88 chars in them!? |
maybe the bot is having an off day :-< |
|
thanks @attack68 |
Co-authored-by: JHM Darbyshire (iMac) <attack68@users.noreply.github.com>
Co-authored-by: JHM Darbyshire (iMac) <attack68@users.noreply.github.com>
The following tests moved from
style/test_style.pyto their own modulestyle/test_format.py.def test_display_format(styler):
def test_format_dict(styler):
def test_format_string(styler): [added new]
def test_format_callable(styler): [added new]
def test_format_with_na_rep():
def test_format_non_numeric_na():
def test_format_clear(styler):
def test_format_escape():
def test_format_escape_na_rep():
def test_format_escape_floats(styler):
def test_format_raises(styler, formatter):
def test_format_with_precision():
def test_format_subset():
The new module does not use
classsetup structure.