Update cherrypy-18.6.1

This commit is contained in:
JonnyWong16 2021-10-14 21:17:18 -07:00
parent b3ae6bd695
commit ebffd124f6
No known key found for this signature in database
GPG key ID: B1F1F9807184697A
57 changed files with 1269 additions and 1509 deletions

View file

@ -3,9 +3,7 @@ from itertools import count
import os
import threading
import time
from six.moves import range
from six.moves import urllib
import urllib.parse
import pytest
@ -153,7 +151,7 @@ class CacheTest(helper.CPWebCase):
self.assertBody('visit #1')
if trial != 0:
age = int(self.assertHeader('Age'))
self.assert_(age >= elapsed)
assert age >= elapsed
elapsed = age
# POST, PUT, DELETE should not be cached.