⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.197
Server IP:
97.74.87.16
Server:
Linux 16.87.74.97.host.secureserver.net 5.14.0-503.38.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Apr 18 08:52:10 EDT 2025 x86_64
Server Software:
Apache
PHP Version:
8.2.28
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
opt
/
python38
/
lib
/
python3.8
/
idlelib
/
idle_test
/
View File Name :
test_calltip_w.py
"Test calltip_w, coverage 18%." from idlelib import calltip_w import unittest from test.support import requires from tkinter import Tk, Text class CallTipWindowTest(unittest.TestCase): @classmethod def setUpClass(cls): requires('gui') cls.root = Tk() cls.root.withdraw() cls.text = Text(cls.root) cls.calltip = calltip_w.CalltipWindow(cls.text) @classmethod def tearDownClass(cls): cls.root.update_idletasks() cls.root.destroy() del cls.text, cls.root def test_init(self): self.assertEqual(self.calltip.anchor_widget, self.text) if __name__ == '__main__': unittest.main(verbosity=2)