bpo-43916: Use test.support.check_disallow_instantiation() in test_tcl (GH-26412)
This commit is contained in:
parent
f4b70c22c8
commit
e90e042218
@ -738,9 +738,9 @@ class TclTest(unittest.TestCase):
|
||||
|
||||
@support.cpython_only
|
||||
def test_new_tcl_obj(self):
|
||||
self.assertRaises(TypeError, _tkinter.Tcl_Obj)
|
||||
self.assertRaises(TypeError, _tkinter.TkttType)
|
||||
self.assertRaises(TypeError, _tkinter.TkappType)
|
||||
support.check_disallow_instantiation(self, _tkinter.Tcl_Obj)
|
||||
support.check_disallow_instantiation(self, _tkinter.TkttType)
|
||||
support.check_disallow_instantiation(self, _tkinter.TkappType)
|
||||
|
||||
class BigmemTclTest(unittest.TestCase):
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user