Visitar URL original
csv module: Missing test case for an invalid quoting value · Issue #121982 · python/cpython · GitHub
The Wayback Machine - https://web.archive.org/web/20260404035652/https://github.com/python/cpython/issues/121982
Skip to content
/ cpython Public

csv module: Missing test case for an invalid quoting value #121982

@tomasr8

Description

@tomasr8

Bug report

Bug description:

This branch is currently not covered by the tests:

cpython/Modules/_csv.c

Lines 330 to 331 in 12c1afa

PyErr_Format(PyExc_TypeError, "bad \"quoting\" value");
return -1;

We should add a test case for it. I can send a PR shortly ;)

CPython versions tested on:

CPython main branch

Operating systems tested on:

Linux

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    testsTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions