MCPcopy Index your code
hub / github.com/mongodb/mongo-python-driver / test_scope_kwargs

Method test_scope_kwargs

test/test_code.py:100–103  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

98 self.assertNotEqual(b, Code(a))
99
100 def test_scope_kwargs(self):
101 self.assertEqual({"a": 1}, Code("", a=1).scope)
102 self.assertEqual({"a": 1}, Code("", {"a": 2}, a=1).scope)
103 self.assertEqual({"a": 1, "b": 2, "c": 3}, Code("", {"b": 2}, a=1, c=3).scope)
104
105
106if __name__ == "__main__":

Callers

nothing calls this directly

Calls 1

CodeClass · 0.90

Tested by

no test coverage detected