File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
tests/test_optional/test_figure_factory Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change 55
66pd = optional_imports .get_module ("pandas" )
77
8+
89@pytest .mark .parametrize ("input_type" , ["list" , "dataframe" ])
910def test_valid_with_extra_keys (input_type ):
1011 """Test that extra keys beyond required ones are preserved."""
@@ -29,7 +30,6 @@ def test_valid_with_extra_keys(input_type):
2930 assert result [1 ]["Finish" ] == "2020-01-04"
3031
3132
32-
3333def test_missing_required_key_in_dataframe ():
3434 df = pd .DataFrame (
3535 [
@@ -64,7 +64,6 @@ def test_list_with_dict_missing_all_keys():
6464 assert result is input_data
6565
6666
67-
6867def test_large_list_with_non_dict_first_element ():
6968 input_data = [
7069 "Not a dict" ,
@@ -81,7 +80,6 @@ def test_large_list_with_non_dict_first_element():
8180 validate_gantt (input_data )
8281
8382
84-
8583def test_dataframe_column_order_and_index ():
8684 df = pd .DataFrame (
8785 [
You can’t perform that action at this time.
0 commit comments