Skip to content

Commit

Permalink
TST: Skip tests that use AdjustText
Browse files Browse the repository at this point in the history
Un skip when the support 2.0 is released.

ref: Phlya/adjustText#177
  • Loading branch information
has2k1 committed Jun 22, 2024
1 parent f42d774 commit 552c3cb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/test_geom_text_label.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ def test_label_aesthetics():
assert p == "label_aesthetics"


@pytest.mark.skip("Broken for numpy 2")
def test_adjust_text():
p = (
ggplot(mtcars.tail(2), aes("mpg", "disp", label="name"))
Expand All @@ -97,6 +98,7 @@ def test_adjust_text():
assert p == "adjust_text"


@pytest.mark.skip("Broken for numpy 2")
def test_adjust_label():
p = (
ggplot(mtcars.tail(2), aes("mpg", "disp", label="name"))
Expand All @@ -106,6 +108,7 @@ def test_adjust_label():
assert p == "adjust_label"


@pytest.mark.skip("Broken for numpy 2")
def test_adjust_text_default_color():
adjust_text2 = adjust_text.copy()
del adjust_text2["arrowprops"]["color"]
Expand Down

0 comments on commit 552c3cb

Please sign in to comment.