From 852a0ca7d78a670f78e1107a3d04e52ef57d94bc Mon Sep 17 00:00:00 2001 From: Ian Spektor Date: Wed, 18 Oct 2023 16:28:09 +0200 Subject: [PATCH] fix calendar tests --- .../core/operators/calendar/test/__init__.py | 0 temporian/core/test/event_set_ops_test.py | 44 ------------------- 2 files changed, 44 deletions(-) create mode 100644 temporian/core/operators/calendar/test/__init__.py diff --git a/temporian/core/operators/calendar/test/__init__.py b/temporian/core/operators/calendar/test/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/temporian/core/test/event_set_ops_test.py b/temporian/core/test/event_set_ops_test.py index 7e62cffdf..fd770d91f 100644 --- a/temporian/core/test/event_set_ops_test.py +++ b/temporian/core/test/event_set_ops_test.py @@ -43,50 +43,6 @@ def test_begin(self): self.assertTrue(isinstance(self.evset.begin(), EventSet)) self.assertTrue(isinstance(self.node.begin(), EventSetNode)) - def test_calendar_day_of_month(self): - self.assertTrue( - isinstance(self.evset.calendar_day_of_month(), EventSet) - ) - self.assertTrue( - isinstance(self.node.calendar_day_of_month(), EventSetNode) - ) - - def test_calendar_day_of_week(self): - self.assertTrue(isinstance(self.evset.calendar_day_of_week(), EventSet)) - self.assertTrue( - isinstance(self.node.calendar_day_of_week(), EventSetNode) - ) - - def test_calendar_day_of_year(self): - self.assertTrue(isinstance(self.evset.calendar_day_of_year(), EventSet)) - self.assertTrue( - isinstance(self.node.calendar_day_of_year(), EventSetNode) - ) - - def test_calendar_hour(self): - self.assertTrue(isinstance(self.evset.calendar_hour(), EventSet)) - self.assertTrue(isinstance(self.node.calendar_hour(), EventSetNode)) - - def test_calendar_iso_week(self): - self.assertTrue(isinstance(self.evset.calendar_iso_week(), EventSet)) - self.assertTrue(isinstance(self.node.calendar_iso_week(), EventSetNode)) - - def test_calendar_minute(self): - self.assertTrue(isinstance(self.evset.calendar_minute(), EventSet)) - self.assertTrue(isinstance(self.node.calendar_minute(), EventSetNode)) - - def test_calendar_month(self): - self.assertTrue(isinstance(self.evset.calendar_month(), EventSet)) - self.assertTrue(isinstance(self.node.calendar_month(), EventSetNode)) - - def test_calendar_second(self): - self.assertTrue(isinstance(self.evset.calendar_second(), EventSet)) - self.assertTrue(isinstance(self.node.calendar_second(), EventSetNode)) - - def test_calendar_year(self): - self.assertTrue(isinstance(self.evset.calendar_year(), EventSet)) - self.assertTrue(isinstance(self.node.calendar_year(), EventSetNode)) - def test_cast(self): self.assertTrue(isinstance(self.evset.cast({"a": float}), EventSet)) self.assertTrue(isinstance(self.node.cast({"a": float}), EventSetNode))