Skip to content

Commit baaec41

Browse files
committed
passong delimiter. related to #4
1 parent b91032a commit baaec41

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

tests/test_bug_fixes.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,13 @@ def test_issue_4():
2727
array = myinput.get_array(field_name=('csv', f))
2828
eq_(array, expected)
2929

30+
31+
def test_issue_4_passing_delimiter():
32+
myinput = TestExtendedInput()
33+
fixture = os.path.join("tests", "fixtures", "issue4-test.csv")
34+
35+
expected = [[1, 2, 3], [4, 5, 6]]
36+
with open(fixture, "rb") as f:
37+
array = myinput.get_array(field_name=('csv', f),
38+
delimiter='\t')
39+
eq_(array, expected)

0 commit comments

Comments
 (0)