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

Method test_get_null

Lib/test/test_tkinter/test_variables.py:244–248  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

242 self.assertEqual("value", v.get())
243
244 def test_get_null(self):
245 v = StringVar(self.root, "abc\x00def", "name")
246 self.assertEqual("abc\x00def", v.get())
247 self.root.globalsetvar("name", "val\x00ue")
248 self.assertEqual("val\x00ue", v.get())
249
250
251class TestIntVar(TestBase):

Callers

nothing calls this directly

Calls 3

getMethod · 0.95
StringVarClass · 0.90
assertEqualMethod · 0.45

Tested by

no test coverage detected