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:
@ -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):
|
||||
"""
|
||||
|
Reference in New Issue
Block a user