From ae5ab35c2bc9ceebbd2b52d490e1808c016bf086 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sun, 25 Mar 2012 18:08:54 -0400 Subject: fix tests under py33 --- pyramid/tests/test_config/test_views.py | 2 +- pyramid/tests/test_scripts/test_proutes.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/pyramid/tests/test_config/test_views.py b/pyramid/tests/test_config/test_views.py index d44bec691..98fe3d1cd 100644 --- a/pyramid/tests/test_config/test_views.py +++ b/pyramid/tests/test_config/test_views.py @@ -2342,7 +2342,7 @@ class TestViewDeriver(unittest.TestCase): msg = e.args[0] self.assertTrue(msg.startswith( 'Could not convert return value of the view callable object ' - ' into a response object. The value returned was None. You ' 'may have forgotten to return a value from the view callable.')) diff --git a/pyramid/tests/test_scripts/test_proutes.py b/pyramid/tests/test_scripts/test_proutes.py index 8c2660465..fad8c1895 100644 --- a/pyramid/tests/test_scripts/test_proutes.py +++ b/pyramid/tests/test_scripts/test_proutes.py @@ -100,7 +100,8 @@ class TestPRoutesCommand(unittest.TestCase): result = command.run() self.assertEqual(result, 0) self.assertEqual(len(L), 3) - self.assertEqual(L[-1].split()[:4], ['a', '/a', '