Lines Matching refs:result_ns
80 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)
134 self.assertNamespaceMatches(result_ns, expected_ns)
140 result_ns = create_namespace(initial_ns)
141 self.assertIsNot(result_ns, initial_ns)
142 self.assertNamespaceMatches(result_ns, expected_ns)