mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
bpo-43916: Use test.support.check_disallow_instantiation() in test_tcl (GH-26412) (GH-26888)
(cherry picked from commit e90e042218
)
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
This commit is contained in:
parent
0b6b286518
commit
733587011d
1 changed files with 3 additions and 3 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue