1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2025-06-17 00:07:37 +02:00

add input type checks

This commit is contained in:
Kelly Brazil
2021-11-30 10:03:59 -08:00
parent 3a9f0934c4
commit 14247adb0a
2 changed files with 5 additions and 4 deletions

View File

@ -74,7 +74,7 @@ class MyTests(unittest.TestCase):
"""
Test CSV parser with no data
"""
self.assertEqual(list(jc.parsers.csv_s.parse('', quiet=True)), [])
self.assertEqual(list(jc.parsers.csv_s.parse([], quiet=True)), [])
def test_csv_unparsable(self):
"""