mirror of
https://github.com/beetbox/beets.git
synced 2025-12-31 21:12:43 +01:00
Remove not-found hardlink test (the OS prevents this from happening)
This commit is contained in:
parent
0c836f9369
commit
ccd0f5d129
1 changed files with 0 additions and 10 deletions
|
|
@ -197,16 +197,6 @@ class SafetyTest(unittest.TestCase, _common.TempDirMixin):
|
|||
finally:
|
||||
os.unlink(fn)
|
||||
|
||||
@unittest.skipUnless(_common.HAVE_HARDLINK, u'platform lacks hardlink')
|
||||
def test_broken_hardlink(self):
|
||||
fn = os.path.join(_common.RSRC, b'brokenlink')
|
||||
os.link('does_not_exist', fn)
|
||||
try:
|
||||
self.assertRaises(mediafile.UnreadableFileError,
|
||||
mediafile.MediaFile, fn)
|
||||
finally:
|
||||
os.unlink(fn)
|
||||
|
||||
class SideEffectsTest(unittest.TestCase):
|
||||
def setUp(self):
|
||||
self.empty = os.path.join(_common.RSRC, b'empty.mp3')
|
||||
|
|
|
|||
Loading…
Reference in a new issue