Skip to content

Commit 2f41089

Browse files
committed
Remove duplicate test_sanitize_aware_utc_datetime
1 parent 9721b45 commit 2f41089

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

tests/test_customerio.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -572,12 +572,6 @@ def test_sanitize_naive_datetime(self):
572572
data_out = self.cio._sanitize(data_in)
573573
self.assertEqual(data_out, dict(dt=1234567890))
574574

575-
def test_sanitize_aware_utc_datetime(self):
576-
"""Tz-aware UTC datetimes produce the correct timestamp."""
577-
data_in = dict(dt=datetime(2009, 2, 13, 23, 31, 30, 0, timezone.utc))
578-
data_out = self.cio._sanitize(data_in)
579-
self.assertEqual(data_out, dict(dt=1234567890))
580-
581575
def test_sanitize_aware_non_utc_datetime(self):
582576
"""Tz-aware non-UTC datetimes are converted, not silently replaced."""
583577
# 2009-02-13 18:31:30 at UTC-5 is 2009-02-13 23:31:30 UTC

0 commit comments

Comments
 (0)