'The testcase fails if no exception is raised when a filename parameter provided to binhex.binhex()
is too long, or if the exception raised in binhex.binhex() is not an instance of binhex.Error.'

def test_binhex_error_on_long_filename(self):

    f3 = open(self.fname3, 'wb')
    f3.close()
    self.assertRaises(binhex.Error, binhex.binhex, self.fname3, self.fname2)
