[Zope-Checkins] CVS: Zope3/lib/python/Zope/Configuration/tests - testHookRegistry.py:1.4

Jeremy Hylton jeremy@zope.com
Tue, 16 Jul 2002 19:23:13 -0400


Update of /cvs-repository/Zope3/lib/python/Zope/Configuration/tests
In directory cvs.zope.org:/tmp/cvs-serv17152/Zope/Configuration/tests

Modified Files:
	testHookRegistry.py 
Log Message:
Turn three lines into two.



=== Zope3/lib/python/Zope/Configuration/tests/testHookRegistry.py 1.3 => 1.4 ===
         
         hookRegistry = HookRegistry()
         hookRegistry.addHookable(hookableAddr)
-        self.assertRaises(BadHookError, hookRegistry.addHook,
-                          hookableAddr,
+        self.assertRaises(BadHookError, hookRegistry.addHook, hookableAddr,
                           'foo.bar.this.should.not.resolve.anywhere')
         hookRegistry.addHook(hookableAddr, dummyHook)
         new = __import__(hookableParent, {}, {}, ('__dict__',))