mirror of
https://github.com/kennethreitz/tablib.git
synced 2026-06-05 23:10:17 +00:00
Fixed callable collumn test
the test was sending a list instead of a function
This commit is contained in:
+1
-1
@@ -95,7 +95,7 @@ class TablibTestCase(unittest.TestCase):
|
||||
def test_add_callable_column(self):
|
||||
"""Verify adding column with values specified as callable."""
|
||||
|
||||
new_col = [lambda x: x[0]]
|
||||
new_col = lambda x: x[0]
|
||||
|
||||
self.founders.append_col(new_col, header='first_again')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user