MCPcopy Index your code
hub / github.com/RustPython/RustPython / mydialect

Class mydialect

Lib/test/test_csv.py:612–618  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

610
611 def test_register_kwargs_override(self):
612 class mydialect(csv.Dialect):
613 delimiter = "\t"
614 quotechar = '"'
615 doublequote = True
616 skipinitialspace = False
617 lineterminator = '\r\n'
618 quoting = csv.QUOTE_MINIMAL
619
620 name = 'test_dialect'
621 csv.register_dialect(name, mydialect,

Callers 5

test_quotingMethod · 0.70
test_delimiterMethod · 0.70
test_escapecharMethod · 0.70
test_lineterminatorMethod · 0.70
create_invalidMethod · 0.70

Calls

no outgoing calls

Tested by 5

test_quotingMethod · 0.56
test_delimiterMethod · 0.56
test_escapecharMethod · 0.56
test_lineterminatorMethod · 0.56
create_invalidMethod · 0.56