mirror of
https://github.com/python/cpython.git
synced 2025-08-26 19:55:24 +00:00
gh-65496: Correct wording on csv's skipinitialspace argument (GH-96170)
(cherry picked from commit 676d8ef380
)
Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
This commit is contained in:
parent
17c9ce112f
commit
c2f21af42a
3 changed files with 10 additions and 5 deletions
|
@ -362,6 +362,11 @@ class Test_Csv(unittest.TestCase):
|
|||
self._read_test(['1,@,3,@,5'], [['1', ',3,', '5']], quotechar='@')
|
||||
self._read_test(['1,\0,3,\0,5'], [['1', ',3,', '5']], quotechar='\0')
|
||||
|
||||
def test_read_skipinitialspace(self):
|
||||
self._read_test(['no space, space, spaces,\ttab'],
|
||||
[['no space', 'space', 'spaces', '\ttab']],
|
||||
skipinitialspace=True)
|
||||
|
||||
def test_read_bigfield(self):
|
||||
# This exercises the buffer realloc functionality and field size
|
||||
# limits.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue