@@ -738,9 +738,9 @@ def check(value): |
|
|
738 |
738 |
|
739 |
739 |
@support.cpython_only |
740 |
740 |
def test_new_tcl_obj(self): |
741 |
|
-self.assertRaises(TypeError, _tkinter.Tcl_Obj) |
742 |
|
-self.assertRaises(TypeError, _tkinter.TkttType) |
743 |
|
-self.assertRaises(TypeError, _tkinter.TkappType) |
|
741 |
+support.check_disallow_instantiation(self, _tkinter.Tcl_Obj) |
|
742 |
+support.check_disallow_instantiation(self, _tkinter.TkttType) |
|
743 |
+support.check_disallow_instantiation(self, _tkinter.TkappType) |
744 |
744 |
|
745 |
745 |
class BigmemTclTest(unittest.TestCase): |
746 |
746 |
|