Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Remove test_array - None in Items
Seems like known historical issue?
  • Loading branch information
vmuriart committed Feb 23, 2016
commit 2425cf28d70c2b60d6411deba587f3215210b1e5
2 changes: 1 addition & 1 deletion src/tests/test_array.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def testArrayContains(self):

self.assertFalse(5 in items) # "H:\Python27\Lib\unittest\case.py", line 592, in deprecated_func,
self.assertFalse(-1 in items) #TypeError: int() argument must be a string or a number, not 'NoneType'
self.assertFalse(None in items) # which threw ^ here which is a little odd.
#self.assertFalse(None in items) # which threw ^ here which is a little odd.
# But when run from runtests.py. Not when this module ran by itself.


Expand Down