@with_setup(reset)
def test_invalid_call():
 assert_raises(TypeError, register)
 assert_raises(TypeError, register, 'one-argument-only')

@ with_setup ( reset ) def test_invalid_call ( ) : assert_raises ( TypeError , register ) assert_raises ( TypeError , register , 'one-argument-only' )
test calling register with an invalid syntax .