summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pyramid/tests/test_paster.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/pyramid/tests/test_paster.py b/pyramid/tests/test_paster.py
index 2239d81ea..89b023852 100644
--- a/pyramid/tests/test_paster.py
+++ b/pyramid/tests/test_paster.py
@@ -327,6 +327,10 @@ class TestPViewsCommand(unittest.TestCase):
def _makeOne(self):
return self._getTargetClass()('pviews')
+ def failUnless(self, condition):
+ # silence stupid deprecation under Python >= 2.7
+ self.assertTrue(condition)
+
def test__find_view_no_match(self):
from pyramid.registry import Registry
registry = Registry()