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

try tests on python 3.10

This commit is contained in:
Kelly Brazil
2021-10-26 07:43:47 -07:00
parent b280c4fc18
commit 77c96fa2a9

View File

@ -79,8 +79,7 @@ class MyTests(unittest.TestCase):
def test_csv_unparsable(self):
"""
Test CSV streaming parser with '\r' newlines. This will raise ParseError due to a Python bug
that does not correctly iterate on that line ending with sys.stdin. Simulating this failure since
standard str.splitlines() does work correctly.
that does not correctly iterate on that line ending with sys.stdin.
"""
data = r'unparsable\rdata'
g = jc.parsers.csv_s.parse(data.splitlines(), quiet=True)