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

Method test_parser

Lib/test/test_argparse.py:6004–6010  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

6002 self.assertStringEqual(ns, string)
6003
6004 def test_parser(self):
6005 parser = argparse.ArgumentParser(prog='PROG')
6006 string = (
6007 "ArgumentParser(prog='PROG', usage=None, description=None, "
6008 "formatter_class=%r, conflict_handler='error', "
6009 "add_help=True)" % argparse.HelpFormatter)
6010 self.assertStringEqual(parser, string)
6011
6012# ===============
6013# Namespace tests

Callers

nothing calls this directly

Calls 1

assertStringEqualMethod · 0.95

Tested by

no test coverage detected