Create a new and duplicated IrGraph. Warns: The method only clones the graph structure, not its attributes. Returns: IrGraph: A new and duplicated graph.
(self)
| 5603 | self._for_test = for_test |
| 5604 | |
| 5605 | def clone(self): |
| 5606 | """ |
| 5607 | Create a new and duplicated IrGraph. |
| 5608 | |
| 5609 | Warns: |
| 5610 | The method only clones the graph structure, not its attributes. |
| 5611 | |
| 5612 | Returns: |
| 5613 | IrGraph: A new and duplicated graph. |
| 5614 | """ |
| 5615 | g = self.graph.clone() |
| 5616 | return IrGraph(g, self._for_test) |
| 5617 | |
| 5618 | def is_test(self): |
| 5619 | """ |
no test coverage detected