@skip('multiple_execute')
def test_register():
 def garbage_func0():
  pass
 def garbage_func1(param1):
  pass
 codecs.register(garbage_func0)
 codecs.register(garbage_func1)
 AssertError(TypeError, codecs.register)
 AssertError(TypeError, codecs.register, None)
 AssertError(TypeError, codecs.register, ())
 AssertError(TypeError, codecs.register, [])
 AssertError(TypeError, codecs.register, 1)
 AssertError(TypeError, codecs.register, 'abc')
 AssertError(TypeError, codecs.register, 3.14)

@ skip ( 'multiple_execute' ) def test_register ( ) : def garbage_func0 ( ) : pass def garbage_func1 ( param1 ) : pass codecs . register ( garbage_func0 ) codecs . register ( garbage_func1 ) AssertError ( TypeError , codecs . register ) AssertError ( TypeError , codecs . register , None ) AssertError ( TypeError , codecs . register , ( ) ) AssertError ( TypeError , codecs . register , [ ] ) AssertError ( TypeError , codecs . register , 1 ) AssertError ( TypeError , codecs . register , 'abc' ) AssertError ( TypeError , codecs . register , 3.14 )
make sure registering works .