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