We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ab647de commit 1d90a2aCopy full SHA for 1d90a2a
2 files changed
rust/src/filesystem.rs
@@ -262,6 +262,13 @@ impl PyFakeBasicFileSystem {
262
fn read(&self, file_name: &str) -> PyResult<String> {
263
self.inner.read(file_name)
264
}
265
+
266
+ // Temporary workaround method for Python tests.
267
+ fn convert_to_basic(&self) -> PyResult<Self> {
268
+ Ok(PyFakeBasicFileSystem {
269
+ inner: self.inner.clone()
270
+ })
271
+ }
272
273
274
/// Parses an indented string representing a file system structure
0 commit comments