RSS feed

python-stdnum branch master updated. 1.11-7-gb1af986

[Date Prev][Date Next] [Thread Prev][Thread Next]

python-stdnum branch master updated. 1.11-7-gb1af986

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "python-stdnum".

The branch, master has been updated
       via  b1af986475aa5c6255b8fec0651e70e26138d219 (commit)
      from  8307b94a7204573c2387d2419422adfb4b005457 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------

commit b1af986475aa5c6255b8fec0651e70e26138d219
Author: Arthur de Jong <>
Date:   Mon Apr 29 23:10:55 2019 +0200

    Re-add Python 2.6 support
    Fixes 48ff92e

diff --git a/tests/test_isbn.doctest b/tests/test_isbn.doctest
index 212b0fd..6cdaf3b 100644
--- a/tests/test_isbn.doctest
+++ b/tests/test_isbn.doctest
@@ -109,11 +109,11 @@ Regrouping tests.
 Explicit tests for invalid characters.
->>> isbn.validate('978-90245᭓8270')
+>>> isbn.validate('b'978-90245\xe1\xad\x938270'.decode('utf-8')')  # 
 Traceback (most recent call last):
 InvalidFormat: ...
->>> isbn.validate('978-9024538²70')
+>>> isbn.validate(b'978-9024538\xc2\xb270'.decode('utf-8'))  # 978-9024538²70
 Traceback (most recent call last):
 InvalidFormat: ...


Summary of changes:
 tests/test_isbn.doctest | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

To unsubscribe send an email to or see