(self, arguments)
| 639 | indentation = '' |
| 640 | |
| 641 | def parse_arguments(self, arguments): |
| 642 | out = [] |
| 643 | for arg in arguments: |
| 644 | if isinstance(arg, str) and arg[0] == "'" and arg[-1] == "'": |
| 645 | out.append('\"' + arg[1:-1] + '\"') |
| 646 | elif isinstance(arg, dict): |
| 647 | out.append(self.dict2string(arg)) |
| 648 | else: |
| 649 | out.append(arg) |
| 650 | return out |
| 651 | |
| 652 | def dict2string(self, d): |
| 653 | if d['type'] == 'comment': |
no test coverage detected