add datetable cnfcnpj
This commit is contained in:
@@ -9,8 +9,8 @@ def test_detect_delimiter():
|
||||
def test_byte_ranges():
|
||||
csvpath = 'tests/samples/users.csv'
|
||||
ranges = byte_ranges(csvpath, 10)
|
||||
*_, pair = ranges
|
||||
start_byte, end_byte = pair
|
||||
*_, chunk = ranges
|
||||
start_byte, end_byte = chunk
|
||||
|
||||
assert ranges == [(0, 808), (809, 1655), (1656, 2303)]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user