':py:obj:`X509.get_serial_number` raises :py:obj:`TypeError` if invoked with any
arguments.'

def test_get_serial_number_wrong_args(self):

    cert = X509()
    self.assertRaises(TypeError, cert.get_serial_number, None)
