lists.arthurdejong.org
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 -----------------------------------------------------------------
https://arthurdejong.org/git/python-stdnum/commit/?id=b1af986475aa5c6255b8fec0651e70e26138d219

commit b1af986475aa5c6255b8fec0651e70e26138d219
Author: Arthur de Jong <arthur@arthurdejong.org>
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')')  # 
978-90245᭓8270
 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(-)


hooks/post-receive
-- 
python-stdnum
-- 
To unsubscribe send an email to
python-stdnum-commits-unsubscribe@lists.arthurdejong.org or see
https://lists.arthurdejong.org/python-stdnum-commits/