MCPcopy Index your code
hub / github.com/python/cpython / test_namespace_starkwargs_identifier

Method test_namespace_starkwargs_identifier

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

Source from the content-addressed store, hash-verified

6115 self.assertStringEqual(ns, string)
6116
6117 def test_namespace_starkwargs_identifier(self):
6118 ns = argparse.Namespace(**{'valid': True})
6119 string = "Namespace(valid=True)"
6120 self.assertStringEqual(ns, string)
6121
6122 def test_parser(self):
6123 parser = argparse.ArgumentParser(prog='PROG')

Callers

nothing calls this directly

Calls 1

assertStringEqualMethod · 0.95

Tested by

no test coverage detected