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

Method test_clipboard_astral

Lib/test/test_tkinter/test_misc.py:311–320  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

309 root.clipboard_get()
310
311 def test_clipboard_astral(self):
312 root = self.root
313 root.clipboard_clear()
314 root.clipboard_append('𝔘𝔫𝔦')
315 self.assertEqual(root.clipboard_get(), '𝔘𝔫𝔦')
316 root.clipboard_append('𝔠𝔬𝔡𝔢')
317 self.assertEqual(root.clipboard_get(), '𝔘𝔫𝔦𝔠𝔬𝔡𝔢')
318 root.clipboard_clear()
319 with self.assertRaises(tkinter.TclError):
320 root.clipboard_get()
321
322 def test_winfo_rgb(self):
323

Callers

nothing calls this directly

Calls 5

clipboard_clearMethod · 0.80
clipboard_appendMethod · 0.80
clipboard_getMethod · 0.80
assertEqualMethod · 0.45
assertRaisesMethod · 0.45

Tested by

no test coverage detected