'L{URL} is not equal (C{==}) to other types.'

def test_otherTypesNotEqual(self):

    u = URL.fromText(u'http://localhost/')
    self.assertFalse((u == 42), u'URL    must    not    equal    a    number.')
    self.assertFalse((u == object()), u'URL    must    not    equal    an    object.')
    self.assertNotEqual(u, 42)
    self.assertNotEqual(u, object())
