summaryrefslogtreecommitdiff
path: root/rdiff-backup/testing/rpathtest.py
diff options
context:
space:
mode:
Diffstat (limited to 'rdiff-backup/testing/rpathtest.py')
-rw-r--r--rdiff-backup/testing/rpathtest.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/rdiff-backup/testing/rpathtest.py b/rdiff-backup/testing/rpathtest.py
index c9fb783..6d7dee2 100644
--- a/rdiff-backup/testing/rpathtest.py
+++ b/rdiff-backup/testing/rpathtest.py
@@ -438,9 +438,9 @@ class FileAttributes(FileCopying):
def testCopyRaise(self):
"""Should raise exception for non-existent files"""
- self.assertRaises(RPathException, rpath.copy_attribs,
+ self.assertRaises(AssertionError, rpath.copy_attribs,
self.hl1, self.nothing)
- self.assertRaises(RPathException, rpath.copy_attribs,
+ self.assertRaises(AssertionError, rpath.copy_attribs,
self.nothing, self.nowrite)
class CheckPath(unittest.TestCase):