Skip to content

Commit

Permalink
remove special-case precision tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fcurella committed Jan 22, 2025
1 parent 264a8e2 commit a54c60c
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions tests/providers/test_date_time.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit a54c60c

Please sign in to comment.