Closed mejroslav closed 1 year ago
https://github.com/Quacken8/MagneticDisconnectSimulator/blob/faef3bd8e65fb5808206e7455553f4014a215acd/UnitTests.py#L25-L26
Isn't this dangerous? If not, you can use os.rmdir() method.
os.rmdir()
I don't believe it is becuse the unit test won't overwrite an existing folder with its temporary one and only removes the one it creates.
os.rmdir() for some reason doesn't support recursive deletion IIRC
https://github.com/Quacken8/MagneticDisconnectSimulator/blob/faef3bd8e65fb5808206e7455553f4014a215acd/UnitTests.py#L25-L26
Isn't this dangerous? If not, you can use
os.rmdir()
method.