def unlink(self, missing_ok=False):
"""
Remove this file or link.
If the path is a directory, use rmdir() instead.
"""
if self._closed:
self._raise_closed()
try:
self._accessor.unlink(self)
E PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'C:\Users\Matthew\AppData\Local\Temp\tmpa998mnwr.html'`
Can probably be solved by changing save_path to the pytest format tmp_path which has built in cleanup. (Opened for posterity)
In
tests/gis/test_map.py
there is a Windows Permission Error in the test_make_map_joins_properly test duringPath(save_path).unlink()
Full pytest readout: `====================================================== FAILURES ======================================================= ____ test_make_map_joinsproperly ____
tests\gis\test_map.py:58:
self = WindowsPath('C:/Users/Matthew/AppData/Local/Temp/tmpa998mnwr.html'), missing_ok = False
Can probably be solved by changing save_path to the pytest format tmp_path which has built in cleanup. (Opened for posterity)