summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_tcl.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-05-08 17:46:22 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2016-05-08 17:46:22 (GMT)
commite3f1b0911e02f5108b90b9b25417a448a423da40 (patch)
treea9f0a153bfdbe33f242c3dcbcb25f6b2d31afe8e /Lib/test/test_tcl.py
parent4c35964b764540988bfb342bffc7c4b1cb674031 (diff)
downloadcpython-e3f1b0911e02f5108b90b9b25417a448a423da40.zip
cpython-e3f1b0911e02f5108b90b9b25417a448a423da40.tar.gz
cpython-e3f1b0911e02f5108b90b9b25417a448a423da40.tar.bz2
Issue #23815: Fixed crashes related to directly created instances of types in
_tkinter and curses.panel modules.
Diffstat (limited to 'Lib/test/test_tcl.py')
-rw-r--r--Lib/test/test_tcl.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_tcl.py b/Lib/test/test_tcl.py
index 25f6ede..8ffd185 100644
--- a/Lib/test/test_tcl.py
+++ b/Lib/test/test_tcl.py
@@ -649,6 +649,8 @@ class TclTest(unittest.TestCase):
expected = {'a': (1, 2, 3), 'something': 'foo', 'status': ''}
self.assertEqual(splitdict(tcl, arg), expected)
+ def test_new_tcl_obj(self):
+ self.assertRaises(TypeError, _tkinter.Tcl_Obj)
class BigmemTclTest(unittest.TestCase):