def test_attach_class_hint(self):
        try:
            connection = OrientSocket( "localhost", 2424 )
            tx = TxCommitMessage(connection)
            tx.begin()
            tx.attach([1, 2, 3])
            assert False  # should not happens
        except __HOLE__ as e:
            assert 'A subclass of BaseMessage was expected' == str(e)
            assert True
dataset/ETHPy150Open mogui/pyorient/tests/test_raw_messages_3.py/RawMessages_5_TestCase.test_attach_class_hint