lists.arthurdejong.org
RSS feed

python-stdnum branch master updated. 1.7-14-g90067f7

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

python-stdnum branch master updated. 1.7-14-g90067f7



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  90067f7efde339a2b03ce79543c762746c498b21 (commit)
      from  b7b812c88c76fe36738efc445c4672f52ef89765 (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=90067f7efde339a2b03ce79543c762746c498b21

commit 90067f7efde339a2b03ce79543c762746c498b21
Author: Arthur de Jong <arthur@arthurdejong.org>
Date:   Sun Nov 26 21:12:04 2017 +0100

    Fix incorrect banknote test
    
    Also add a few verified correct numbers.
    
    Fixes b7b812c.

diff --git a/tests/test_eu_banknote.doctest b/tests/test_eu_banknote.doctest
index 8a6d7a3..891aa96 100644
--- a/tests/test_eu_banknote.doctest
+++ b/tests/test_eu_banknote.doctest
@@ -50,7 +50,9 @@ These should all be valid serial numbers.
 
 >>> numbers = '''
 ...
+... EA4100181598
 ... F00172834112
+... P08392800367
 ... P36007033744
 ... S22227803764
 ... SD9103468574
@@ -65,7 +67,6 @@ These should all be valid serial numbers.
 ... Y12470649328
 ... Z10708476264
 ... Z34706855889
-... ZA1567572696
 ...
 ... '''
 >>> [x for x in numbers.splitlines() if x and not banknote.is_valid(x)]

-----------------------------------------------------------------------

Summary of changes:
 tests/test_eu_banknote.doctest | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)


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/