summaryrefslogtreecommitdiff
path: root/macaroonbakery/tests/test_checkers.py
diff options
context:
space:
mode:
Diffstat (limited to 'macaroonbakery/tests/test_checkers.py')
-rw-r--r--macaroonbakery/tests/test_checkers.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/macaroonbakery/tests/test_checkers.py b/macaroonbakery/tests/test_checkers.py
index 28da06e..2628153 100644
--- a/macaroonbakery/tests/test_checkers.py
+++ b/macaroonbakery/tests/test_checkers.py
@@ -4,7 +4,6 @@ from datetime import datetime, timedelta
from unittest import TestCase
import macaroonbakery.checkers as checkers
-import pytz
import six
from pymacaroons import MACAROON_V2, Macaroon
@@ -15,7 +14,7 @@ NOW = datetime(
class TestClock():
def utcnow(self):
- return pytz.UTC.localize(NOW)
+ return NOW
class TestCheckers(TestCase):