mirror of
https://github.com/beetbox/beets.git
synced 2026-01-30 20:13:37 +01:00
fix MediaFile exception test
This commit is contained in:
parent
c276cfecc9
commit
4e016f1913
1 changed files with 1 additions and 1 deletions
|
|
@ -151,7 +151,7 @@ class SafetyTest(unittest.TestCase):
|
|||
fn = os.path.join(_common.RSRC, 'brokenlink')
|
||||
os.symlink('does_not_exist', fn)
|
||||
try:
|
||||
self.assertRaises(beets.mediafile.UnreadableFileError,
|
||||
self.assertRaises(IOError,
|
||||
beets.mediafile.MediaFile, fn)
|
||||
finally:
|
||||
os.unlink(fn)
|
||||
|
|
|
|||
Loading…
Reference in a new issue