diff options
| author | Brian Sutherland <brian@vanguardistas.net> | 2011-07-15 13:46:48 +0200 |
|---|---|---|
| committer | Brian Sutherland <brian@vanguardistas.net> | 2011-07-15 13:46:48 +0200 |
| commit | a80206a84476db56d5bfd95a848dfbc28f842958 (patch) | |
| tree | e735c9edede93706911779b3b630a274da0efbf0 | |
| parent | feb94163ea985addcc427173ffb13f4dad697525 (diff) | |
| download | pyramid-a80206a84476db56d5bfd95a848dfbc28f842958.tar.gz pyramid-a80206a84476db56d5bfd95a848dfbc28f842958.tar.bz2 pyramid-a80206a84476db56d5bfd95a848dfbc28f842958.zip | |
Use assertFalse instead of deprecated failIf
| -rw-r--r-- | pyramid/tests/test_router.py | 2 |
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() |
