From: Mathieu Bridon <bochecha(a)daitauha.fr>
This wasn't passing a tuple, but a string to the _format_line()
function.
---
test/test_sources.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/test_sources.py b/test/test_sources.py
index 71b49fb..edff838 100644
--- a/test/test_sources.py
+++ b/test/test_sources.py
@@ -13,7 +13,7 @@ sys.path = old_path
class formatLineTestCase(unittest.TestCase):
def test_wrong_number_of_fields(self):
WRONG_ENTRIES = [
- ('foo'),
+ ('foo',),
('foo', 'bar', 'foo', 'bar'),
]
for entry in WRONG_ENTRIES:
--
2.1.0