def test_badArguments(self):
        self.assertRaises(TypeError, getsockfam)
        self.assertRaises(TypeError, getsockfam, 1, 2)

        self.assertRaises(TypeError, getsockfam, object())
Initialize the sensor.
dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/python/test/test_sendmsg.py/GetSocketFamilyTests.test_badArguments--crossover with--dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/components/sensor/arest.py/ArestSensor.__init__