Skip to content

Commit ea9623f

Browse files
authoredFeb 28, 2025
Update test.py
1 parent ece0ba8 commit ea9623f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed
 

‎test.py

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import pytest
22
import pandas as pd
3-
import plotly.express as px
43
import plotly.graph_objs as go
54
from main_page import melt_clean_data, load_data, select_columns
65
from main_page import code_mapping, convert_to_alpha3, plot_choropleth
@@ -120,5 +119,5 @@ def test_plot_choropleth(test_case_plot):
120119
assert isinstance(fig, go.Figure)
121120
print('Test passed: The function returned a Plotly Figure object.')
122121
except AssertionError:
123-
print(f'Test failed')
124-
122+
print('Test failed')
123+

0 commit comments

Comments
 (0)