mirror of
https://github.com/beetbox/beets.git
synced 2026-01-30 03:54:21 +01:00
use same symlink test in mediafile_edge as elsewhere
This commit is contained in:
parent
0290c9eadb
commit
cae6e128e4
1 changed files with 1 additions and 1 deletions
|
|
@ -188,7 +188,7 @@ class SafetyTest(unittest.TestCase, TestHelper):
|
|||
self._exccheck(b'nothing.xml', beets.mediafile.UnreadableFileError,
|
||||
"ftyp")
|
||||
|
||||
@unittest.skipIf(not hasattr(os, 'symlink'), u'platform lacks symlink')
|
||||
@unittest.skipUnless(_common.HAVE_SYMLINK, u'platform lacks symlink')
|
||||
def test_broken_symlink(self):
|
||||
fn = os.path.join(_common.RSRC, b'brokenlink')
|
||||
os.symlink('does_not_exist', fn)
|
||||
|
|
|
|||
Loading…
Reference in a new issue