diff --git a/tests/test_convert_to_json_serializable.py b/tests/test_convert_to_json_serializable.py index d0e26e1c8645..8c2c1a2e8519 100644 --- a/tests/test_convert_to_json_serializable.py +++ b/tests/test_convert_to_json_serializable.py @@ -1,3 +1,4 @@ +import datetime import re import numpy as np diff --git a/tests/test_ge_utils.py b/tests/test_ge_utils.py index dc8ae37b9269..8ff32a37494d 100644 --- a/tests/test_ge_utils.py +++ b/tests/test_ge_utils.py @@ -557,22 +557,3 @@ def test_convert_ndarray_float_to_datetime_tuple( def test_hyphen(): txt: str = "validation_result" assert hyphen(txt=txt) == "validation-result" -<<<<<<< HEAD - - -@pytest.mark.unit -@pytest.mark.parametrize( - "data", [pytest.param({"t": datetime.time(hour=1, minute=30, second=45)}, id="datetime.time")] -) -def test_convert_to_json_serializable_converts_correctly(data: dict): - ret = convert_to_json_serializable(data) - assert ret == {"t": "01:30:45"} - - -@pytest.mark.unit -@pytest.mark.parametrize( - "data", [pytest.param({"t": datetime.time(hour=1, minute=30, second=45)}, id="datetime.time")] -) -def test_ensure_json_serializable(data: dict): - ensure_json_serializable(data) - # Passes if no exception raised