mirror of
https://github.com/donnemartin/data-science-ipython-notebooks.git
synced 2024-03-22 13:30:56 +08:00
Changed first parameter of test_convert_to_list to self rather than the unused obj.
This commit is contained in:
parent
1b783a75fb
commit
c25b655dc1
|
@ -41,7 +41,7 @@ class TestUtil():
|
|||
assert_equal(Util.is_iterable('foo'), True)
|
||||
assert_equal(Util.is_iterable(7), False)
|
||||
|
||||
def test_convert_to_list(obj):
|
||||
def test_convert_to_list(self):
|
||||
# Check if we converted the object to a list
|
||||
assert_equal(isinstance(Util.convert_to_list('foo'), list), True)
|
||||
assert_equal(isinstance(Util.convert_to_list(7), list), False)
|
||||
|
|
Loading…
Reference in New Issue
Block a user