(self, module_path)
| 35 | self._import_module = importlib.import_module |
| 36 | |
| 37 | def import_module(self, module_path): |
| 38 | if module_path == serializers.BUILTIN_SERIALIZERS["yaml"]: |
| 39 | raise ImportError(YAML_IMPORT_ERROR_MESSAGE) |
| 40 | |
| 41 | return self._import_module(module_path) |
| 42 | |
| 43 | |
| 44 | class NoYamlSerializerTestCase(SimpleTestCase): |
no outgoing calls
no test coverage detected