diff options
| author | Ross Patterson <me@rpatterson.net> | 2012-08-01 16:25:34 +0000 |
|---|---|---|
| committer | Ross Patterson <me@rpatterson.net> | 2012-08-01 16:25:34 +0000 |
| commit | bbc80e80599dd62aff80f54b4f9360c674c3a8cf (patch) | |
| tree | 2e389d315474c15a24024472f1f01460ca15afc5 | |
| parent | af451508f008a2e89a31ca7b6522dd293e62a74a (diff) | |
| download | zope-component-3.10.tar.gz | |
Merge trunk@127419. Test assert method not available in older pythons.3.10
| -rw-r--r-- | src/zope/component/tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zope/component/tests.py b/src/zope/component/tests.py index cd79df3..c87b152 100644 --- a/src/zope/component/tests.py +++ b/src/zope/component/tests.py @@ -951,7 +951,7 @@ class PersistentAdapterRegistryTests(unittest.TestCase): self.assertEqual(state['_provided'], {}) self.assertEqual(state['_adapters'], []) self.assertEqual(state['_subscribers'], []) - self.assertNotIn('ro', state) + self.assertFalse('ro' in state) def test___setstate___rebuilds__ro(self): from zope.component import globalSiteManager |
