(&self, module: &str)
| 2200 | } |
| 2201 | |
| 2202 | pub fn run_module(&self, module: &str) -> PyResult<()> { |
| 2203 | let runpy = self.import("runpy", 0)?; |
| 2204 | let run_module_as_main = runpy.get_attr("_run_module_as_main", self)?; |
| 2205 | run_module_as_main.call((module,), self)?; |
| 2206 | Ok(()) |
| 2207 | } |
| 2208 | |
| 2209 | pub fn fs_encoding(&self) -> &'static PyStrInterned { |
| 2210 | identifier!(self, utf_8) |
no test coverage detected