tests/test-bundle2-format.t
changeset 38609 d474b3b44d4f
parent 38608 980aee54fd70
child 39239 0617a700ef7b
--- a/tests/test-bundle2-format.t	Sun Jul 08 19:34:11 2018 +0900
+++ b/tests/test-bundle2-format.t	Sun Jul 08 19:24:18 2018 +0900
@@ -91,8 +91,8 @@
   >         p = p.split(b'=', 1)
   >         try:
   >             bundler.addparam(*p)
-  >         except ValueError as exc:
-  >             raise error.Abort('%s' % exc)
+  >         except error.ProgrammingError as exc:
+  >             raise error.Abort(b'%s' % exc)
   > 
   >     if opts['compress']:
   >         bundler.setcompression(opts['compress'])