--- test/test_environ.py +++ test/test_environ.py @@ -640,7 +640,7 @@ def test_delete_cookie(self): response.delete_cookie('name') cookies = [value for name, value in response.headerlist if name.title() == 'Set-Cookie'] - self.assertTrue('name=;' in cookies[0]) + self.assertTrue('Max-Age=-1' in cookies[0]) def test_set_header(self): response = BaseResponse()