From a54c60cdb91da4c9e759de7bd61960934c83b058 Mon Sep 17 00:00:00 2001 From: Flavio Curella Date: Wed, 22 Jan 2025 17:38:13 -0600 Subject: [PATCH] remove special-case precision tests --- tests/providers/test_date_time.py | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/tests/providers/test_date_time.py b/tests/providers/test_date_time.py index 8fad9217ef..0478c6ab6a 100644 --- a/tests/providers/test_date_time.py +++ b/tests/providers/test_date_time.py @@ -199,20 +199,6 @@ def test_datetimes_with_and_without_tzinfo(self): assert self.fake.iso8601(tzinfo=utc, sep=" ")[10] == " " assert self.fake.iso8601(tzinfo=utc, sep="_")[10] == "_" - @pytest.mark.skipif( - not sys.platform.startswith("win"), - reason="windows does not support sub second precision", - ) - def test_iso8601_fractional_seconds_win(self): - assert len(self.fake.iso8601()) == 19 - - @pytest.mark.skipif( - sys.platform.startswith("win"), - reason="non windows does support sub second precision", - ) - def test_iso8601_fractional_seconds_non_win(self): - assert len(self.fake.iso8601()) == 26 - def test_date_object(self): assert isinstance(self.fake.date_object(), date)