Skip to content

Commit db7910e

Browse files
committed
Remove unneccessary pytest.approx()
1 parent 095e43b commit db7910e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎test/unit/test_cache_control.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ def test_split_kv_directive(value, expected_output) -> None:
336336
],
337337
)
338338
def test_convert_to_utc_naive(dt: datetime, dt_utc: datetime) -> None:
339-
assert convert_to_utc_naive(dt) == pytest.approx(dt_utc)
339+
assert convert_to_utc_naive(dt) == dt_utc
340340

341341

342342
@pytest.mark.parametrize(

0 commit comments

Comments
 (0)