Remove not-found hardlink test (the OS prevents this from happening)
@@ -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')
