mirror of
https://github.com/borgbackup/borg.git
synced 2026-06-03 13:45:59 -04:00
Merge pull request #8961 from FelixSchwarz/1.4-maint
tests: fix ZeroDivisionError msg test for py314 (for borg 1.4)
This commit is contained in:
commit
89b627206e
1 changed files with 1 additions and 1 deletions
|
|
@ -977,7 +977,7 @@ class RemoteRepositoryTestCase(RepositoryTestCase):
|
|||
self.repository.call('inject_exception', {'kind': 'divide'})
|
||||
except RemoteRepository.RPCError as e:
|
||||
assert e.unpacked
|
||||
assert e.get_message() == 'ZeroDivisionError: integer division or modulo by zero\n'
|
||||
assert e.get_message().startswith("ZeroDivisionError:")
|
||||
assert e.exception_class == 'ZeroDivisionError'
|
||||
assert len(e.exception_full) > 0
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue