def test_badArguments(self):
        # Exercise the wrong number of arguments cases
        self.assertRaises(TypeError, recv1msg)
        self.assertRaises(TypeError, recv1msg, 1, 2, 3, 4, object())

        # Exercise the wrong type of arguments cases
        self.assertRaises(TypeError, recv1msg, object(), 2, 3, 4)
        self.assertRaises(TypeError, recv1msg, 1, object(), 3, 4)
        self.assertRaises(TypeError, recv1msg, 1, 2, object(), 4)
        self.assertRaises(TypeError, recv1msg, 1, 2, 3, object())
The argument types accepted by L{recv1msg} are:
dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/python/test/test_sendmsg.py/RecvmsgTestCase.test_badArguments