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.py80 def assertNamespaceMatches(self, result_ns, expected_ns): argument
86 result_ns = result_ns.copy()
89 for k in list(result_ns):
92 result_ns.pop(k)
94 result_ns["nested"].pop(k)
97 result_spec = result_ns.pop("__spec__")
114 self.assertEqual(set(result_ns), set(expected_ns))
115 for k in result_ns:
116 actual = (k, result_ns[k])
133 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)