def test_from_xml_path_argument_is_not_a_string(self):
    'testing if a TypeError will be raised when the path argument is not\n        a string\n        '
    sm = pymel.core.PyNode('sequenceManager1')
    with self.assertRaises(TypeError) as cm:
        sm.from_xml(30)
    self.assertEqual(cm.exception.message, 'path argument in SequenceManager.from_xml should be a string, not int')
testing if a TypeError will be raised when the path argument is not
a string
def test_from_xml_path_argument_is_not_a_string(self):
    'testing if a TypeError will be raised when the path argument is not\n        a string\n        '
    sm = pymel.core.PyNode('sequenceManager1')
    with self.assertRaises(TypeError) as cm:
        sm.from_xml(30)
    self.assertEqual(cm.exception.message, 'path argument in SequenceManager.from_xml should be a string, not int')