summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2011-08-08 23:50:13 -0400
committerChris McDonough <chrism@plope.com>2011-08-08 23:50:13 -0400
commiteecbc58df6150df5225612c24fc1cf5e2b74938f (patch)
tree9aafbe5792e1614e0c43846623174eda13ce0e22
parent932fc55e19b47ee670fa608c268a35738e499487 (diff)
downloadpyramid-eecbc58df6150df5225612c24fc1cf5e2b74938f.tar.gz
pyramid-eecbc58df6150df5225612c24fc1cf5e2b74938f.tar.bz2
pyramid-eecbc58df6150df5225612c24fc1cf5e2b74938f.zip
fix test on jython
-rw-r--r--pyramid/tests/test_tweens.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyramid/tests/test_tweens.py b/pyramid/tests/test_tweens.py
index a626afa11..20a64908e 100644
--- a/pyramid/tests/test_tweens.py
+++ b/pyramid/tests/test_tweens.py
@@ -281,6 +281,6 @@ class TestCyclicDependencyError(unittest.TestCase):
def test___str__(self):
exc = self._makeOne({'a':['c', 'd'], 'c':['a']})
result = str(exc)
- self.assertEqual(result,
- "'a' sorts over ['c', 'd']; 'c' sorts over ['a']")
+ self.assertTrue("'a' sorts over ['c', 'd']" in result)
+ self.assertTrue("'c' sorts over ['a']" in result)