diff options
-rw-r--r-- | tests/sanity.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/sanity.py b/tests/sanity.py index e7344f9..17717d7 100644 --- a/tests/sanity.py +++ b/tests/sanity.py @@ -96,7 +96,7 @@ class TestLnmod(unittest.TestCase): lnmod.replace_links(rmap) except OSError as e: self.fail('Could not replace link. {0}'.format(e.strerror())) - except IOError: + except IOError as e: self.fail('Could not replace link. {0}'.format(e.strerror())) deinit_test_data() |