summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_tcl.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2014-05-30 12:54:35 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2014-05-30 12:54:35 (GMT)
commitaecfa9ead9dfc88ce84e2d880aba4871f373eee8 (patch)
tree0aff55b14fde62a6fab72fca1a7c8da94bb5c5ae /Lib/test/test_tcl.py
parent79851d755bf4edacd3f423c5e2cca21d0c07c3b6 (diff)
downloadcpython-aecfa9ead9dfc88ce84e2d880aba4871f373eee8.zip
cpython-aecfa9ead9dfc88ce84e2d880aba4871f373eee8.tar.gz
cpython-aecfa9ead9dfc88ce84e2d880aba4871f373eee8.tar.bz2
Test correct getXXX methods in Tkinter bigmem tests.
Tk.getint is just int, true Tk wrapper is available as Tk.tk.getint.
Diffstat (limited to 'Lib/test/test_tcl.py')
-rw-r--r--Lib/test/test_tcl.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/test/test_tcl.py b/Lib/test/test_tcl.py
index b0b2729..a4e13ab 100644
--- a/Lib/test/test_tcl.py
+++ b/Lib/test/test_tcl.py
@@ -566,9 +566,9 @@ class BigmemTclTest(unittest.TestCase):
@support.bigmemtest(size=INT_MAX + 1, memuse=9, dry_run=False)
def test_huge_string_builtins(self, size):
value = '1' + ' ' * size
- self.assertRaises(OverflowError, self.interp.getint, value)
- self.assertRaises(OverflowError, self.interp.getdouble, value)
- self.assertRaises(OverflowError, self.interp.getboolean, value)
+ self.assertRaises(OverflowError, self.interp.tk.getint, value)
+ self.assertRaises(OverflowError, self.interp.tk.getdouble, value)
+ self.assertRaises(OverflowError, self.interp.tk.getboolean, value)
self.assertRaises(OverflowError, self.interp.eval, value)
self.assertRaises(OverflowError, self.interp.evalfile, value)
self.assertRaises(OverflowError, self.interp.record, value)