mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
chore(🦾): bump python ruff 0.4.5 -> 0.8.0 (#31001)
Co-authored-by: GitHub Action <action@github.com> Co-authored-by: Maxime Beauchemin <maximebeauchemin@gmail.com>
This commit is contained in:
committed by
GitHub
parent
3aa8f32ca9
commit
1e4098a29e
@@ -1091,7 +1091,7 @@ def test__normalize_prequery_result_type(
|
||||
columns_by_name,
|
||||
)
|
||||
|
||||
assert type(normalized) == type(result)
|
||||
assert isinstance(normalized, type(result))
|
||||
|
||||
if isinstance(normalized, TextClause):
|
||||
assert str(normalized) == str(result)
|
||||
|
||||
@@ -91,7 +91,7 @@ class TestBaseViz(SupersetTestCase):
|
||||
datasource = self.get_datasource_mock()
|
||||
test_viz = viz.BaseViz(datasource, form_data)
|
||||
result = test_viz.get_df(query_obj)
|
||||
assert type(result) == pd.DataFrame
|
||||
assert isinstance(result, pd.DataFrame)
|
||||
assert result.empty
|
||||
|
||||
def test_get_df_handles_dttm_col(self):
|
||||
|
||||
Reference in New Issue
Block a user