From 6f2603e0d862f9c95a7fe74e44e966e491fc9249 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tina=20M=C3=BCller?= Date: Sun, 15 Dec 2019 18:18:07 +0100 Subject: [PATCH] Remove unnecessary class MyTime --- tests/lib/test_constructor.py | 3 --- tests/lib3/test_constructor.py | 3 --- 2 files changed, 6 deletions(-) diff --git a/tests/lib/test_constructor.py b/tests/lib/test_constructor.py index a337fb47..aac4bc18 100644 --- a/tests/lib/test_constructor.py +++ b/tests/lib/test_constructor.py @@ -237,9 +237,6 @@ def tzname(self, dt): def dst(self, dt): return datetime.timedelta(0) - class MyTime(yaml.YAMLObject): - pass - today = datetime.date.today() def _load_code(expression): diff --git a/tests/lib3/test_constructor.py b/tests/lib3/test_constructor.py index 63f6eeec..6988aa7d 100644 --- a/tests/lib3/test_constructor.py +++ b/tests/lib3/test_constructor.py @@ -223,9 +223,6 @@ def tzname(self, dt): def dst(self, dt): return datetime.timedelta(0) - class MyTime(yaml.YAMLObject): - pass - today = datetime.date.today() def _load_code(expression):