mirror of
https://github.com/RustPython/RustPython.git
synced 2026-10-29 11:14:38 +08:00
Add prints for windows debug
This commit is contained in:
1 parent
00e46b7d72
commit
08f2a5705b
1 file changed
+2
@@ -51,8 +51,10 @@ class TestWithTempDir():
|
||||
|
||||
def __exit__(self, exc_type, exc_val, exc_tb):
|
||||
for f in os.listdir(self.name):
|
||||
print("Remove file", self.name + os.sep + f)
|
||||
# Currently don't support dir delete.
|
||||
os.remove(self.name + os.sep + f)
|
||||
print("Remove dir", self.name)
|
||||
os.rmdir(self.name)
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user