(self, arguments)
| 884 | indentation = ' ' * 8 |
| 885 | |
| 886 | def parse_arguments(self, arguments): |
| 887 | out = [] |
| 888 | for arg in arguments: |
| 889 | if isinstance(arg, str) and arg[0] == "'" and arg[-1] == "'": |
| 890 | out.append('\"' + arg[1:-1] + '\"') |
| 891 | elif isinstance(arg, dict): |
| 892 | out.append(self.dict2string(arg)) |
| 893 | else: |
| 894 | out.append(arg) |
| 895 | return out |
| 896 | |
| 897 | def dict2string(self, d): |
| 898 | if d['type'] == 'comment': |
no test coverage detected