python-stdnum commit: r146 - python-stdnum/tests
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
python-stdnum commit: r146 - python-stdnum/tests
- From: Commits of the python-stdnum project <python-stdnum-commits [at] lists.arthurdejong.org>
- To: python-stdnum-commits [at] lists.arthurdejong.org
- Reply-to: python-stdnum-users [at] lists.arthurdejong.org
- Subject: python-stdnum commit: r146 - python-stdnum/tests
- Date: Sat, 18 Feb 2012 20:26:21 +0100 (CET)
Author: arthur
Date: Sat Feb 18 20:26:20 2012
New Revision: 146
URL: http://arthurdejong.org/viewvc/python-stdnum?revision=146&view=revision
Log:
explicitly test for False
Modified:
python-stdnum/tests/test_robustness.doctest
Modified: python-stdnum/tests/test_robustness.doctest
==============================================================================
--- python-stdnum/tests/test_robustness.doctest Sat Feb 18 20:25:00 2012
(r145)
+++ python-stdnum/tests/test_robustness.doctest Sat Feb 18 20:26:20 2012
(r146)
@@ -60,6 +60,6 @@
>>> for mod in locals().values():
... if hasattr(mod, 'is_valid'):
-... results = [ x for x in testvalues if mod.is_valid(x) ]
+... results = [ x for x in testvalues if mod.is_valid(x) != False ]
... if results:
... print mod.__name__, results
--
To unsubscribe send an email to
python-stdnum-commits-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/python-stdnum-commits/
- python-stdnum commit: r146 - python-stdnum/tests,
Commits of the python-stdnum project