summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Sutherland <brian@vanguardistas.net>2011-07-15 13:46:48 +0200
committerBrian Sutherland <brian@vanguardistas.net>2011-07-15 13:46:48 +0200
commita80206a84476db56d5bfd95a848dfbc28f842958 (patch)
treee735c9edede93706911779b3b630a274da0efbf0
parentfeb94163ea985addcc427173ffb13f4dad697525 (diff)
downloadpyramid-a80206a84476db56d5bfd95a848dfbc28f842958.tar.gz
pyramid-a80206a84476db56d5bfd95a848dfbc28f842958.tar.bz2
pyramid-a80206a84476db56d5bfd95a848dfbc28f842958.zip
Use assertFalse instead of deprecated failIf
-rw-r--r--pyramid/tests/test_router.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyramid/tests/test_router.py b/pyramid/tests/test_router.py
index 6cd86901e..55eed50f5 100644
--- a/pyramid/tests/test_router.py
+++ b/pyramid/tests/test_router.py
@@ -418,7 +418,7 @@ class TestRouter(unittest.TestCase):
request.response.a = 1
raise KeyError
def exc_view(context, request):
- self.failIf(hasattr(request.response, 'a'))
+ self.assertFalse(hasattr(request.response, 'a'))
request.response.body = 'OK'
return request.response
environ = self._makeEnviron()