mirror of
https://github.com/apache/superset.git
synced 2026-04-26 03:24:53 +00:00
chore: enforce more ruff rules (#31447)
Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>
This commit is contained in:
committed by
GitHub
parent
9da65d6bfd
commit
e51b95ffa8
@@ -119,7 +119,7 @@ def test_histogram_with_non_numeric_column():
|
||||
try:
|
||||
histogram(data, "group", None, bins)
|
||||
except ValueError as e:
|
||||
assert str(e) == "Column 'group' contains non-numeric values"
|
||||
assert str(e) == "Column 'group' contains non-numeric values" # noqa: PT017
|
||||
|
||||
|
||||
def test_histogram_with_some_non_numeric_values():
|
||||
@@ -133,4 +133,4 @@ def test_histogram_with_some_non_numeric_values():
|
||||
try:
|
||||
histogram(data_with_non_numeric, "a", ["group"], bins)
|
||||
except ValueError as e:
|
||||
assert str(e) == "Column 'group' contains non-numeric values"
|
||||
assert str(e) == "Column 'group' contains non-numeric values" # noqa: PT017
|
||||
|
||||
Reference in New Issue
Block a user