diff options
| author | Tres Seaver <tseaver@palladion.com> | 2011-05-11 10:52:45 -0400 |
|---|---|---|
| committer | Tres Seaver <tseaver@palladion.com> | 2011-05-11 10:52:45 -0400 |
| commit | 7f9f373ddee95715909c82aeb20ac3a2984439df (patch) | |
| tree | 429a9808313e7504cc4bf53fbfa04a03c848cecd | |
| parent | 60e7ba931599db835968e5248d31bba6db08a447 (diff) | |
| download | pyramid-7f9f373ddee95715909c82aeb20ac3a2984439df.tar.gz pyramid-7f9f373ddee95715909c82aeb20ac3a2984439df.tar.bz2 pyramid-7f9f373ddee95715909c82aeb20ac3a2984439df.zip | |
Silence stupid deprecation under Python >= 2.7.
| -rw-r--r-- | pyramid/tests/test_paster.py | 4 |
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() |
