Home
last modified time | relevance | path

Searched refs:result_ns (Results 1 – 3 of 3) sorted by relevance

/external/python/cpython3/Lib/test/
Dtest_runpy.py77 def assertNamespaceMatches(self, result_ns, expected_ns): argument
83 result_ns = result_ns.copy()
86 for k in list(result_ns):
89 result_ns.pop(k)
91 result_ns["nested"].pop(k)
94 result_spec = result_ns.pop("__spec__")
111 self.assertEqual(set(result_ns), set(expected_ns))
112 for k in result_ns:
113 actual = (k, result_ns[k])
130 result_ns = create_namespace(None)
[all …]
Dtest_argparse.py234 result_ns = self._parse_args(parser, args)
235 tester.assertEqual(expected_ns, result_ns)
/external/python/cpython2/Lib/test/
Dtest_argparse.py248 result_ns = self._parse_args(parser, args)
249 tester.assertEqual(expected_ns, result_ns)