lists.arthurdejong.org
RSS feed

python-stdnum commit: r146 - python-stdnum/tests

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

python-stdnum commit: r146 - python-stdnum/tests



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/