def test_unnamed():
 t = usertypes.Timer()
 assert (not t.objectName())
 assert (t._name == 'unnamed')
 assert (repr(t) == "<qutebrowser.utils.usertypes.Timer name='unnamed'>")

def test_unnamed ( ) : t = usertypes . Timer ( ) assert ( not t . objectName ( ) ) assert ( t . _name == 'unnamed' ) assert ( repr ( t ) == "<qutebrowser.utils.usertypes.Timer name='unnamed'>" )
make sure an unnamed timer is named correctly .