1
0
mirror of https://github.com/arsenetar/send2trash.git synced 2026-01-22 14:41:40 +00:00

More test fixes

- Fix travis windows env
- Fix exception type in test_plat_win
- Finish converting tests in test_plat_other, fix exception type
This commit is contained in:
2021-03-10 18:57:35 -06:00
parent 37be84d46e
commit af0c1ba704
3 changed files with 187 additions and 207 deletions

View File

@@ -63,7 +63,7 @@ def _trash_multifile(files, fcn):
def _file_not_found(dir, fcn):
file = op.join(dir, "otherfile.txt")
pytest.raises(WindowsError, fcn, file)
pytest.raises(OSError, fcn, file)
def test_trash_folder(testdir):