summaryrefslogtreecommitdiff
path: root/test/test_environ.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_environ.py')
-rwxr-xr-xtest/test_environ.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_environ.py b/test/test_environ.py
index 4b736af..908b9d8 100755
--- a/test/test_environ.py
+++ b/test/test_environ.py
@@ -760,7 +760,7 @@ class TestResponse(unittest.TestCase):
def test_expires_header(self):
import datetime
response = BaseResponse()
- now = datetime.datetime.now()
+ now = datetime.datetime.utcnow()
response.expires = now
def seconds(a, b):