summaryrefslogtreecommitdiff
path: root/macaroonbakery/tests/test_checkers.py
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2018-02-28 17:08:17 +0000
committerColin Watson <cjwatson@debian.org>2018-02-28 17:09:32 +0000
commit6afbd6cfb2ceae0444b1ad15f143117315c0b8e2 (patch)
tree294ffe7ca0d12231dfff2a3d8dd7011aaf824cbc /macaroonbakery/tests/test_checkers.py
parentfa31bef2ea6d7c2207dec570119291fa83e6675d (diff)
parentd918563db4de954c3df719d06a31bdd3aec3a8fc (diff)
New upstream release (1.1.3)
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):