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:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user