summaryrefslogtreecommitdiffstats
path: root/Lib/lib-tk/test/test_ttk/test_functions.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/lib-tk/test/test_ttk/test_functions.py')
-rw-r--r--Lib/lib-tk/test/test_ttk/test_functions.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/lib-tk/test/test_ttk/test_functions.py b/Lib/lib-tk/test/test_ttk/test_functions.py
index e516fa4..f8800ce 100644
--- a/Lib/lib-tk/test/test_ttk/test_functions.py
+++ b/Lib/lib-tk/test/test_ttk/test_functions.py
@@ -72,11 +72,11 @@ class InternalFunctionsTest(unittest.TestCase):
{'-option': '{one two} three'})
# ignore an option
- amount_opts = len(ttk._format_optdict(opts, ignore=(u'á'))) / 2
+ amount_opts = len(ttk._format_optdict(opts, ignore=(u'á'))) // 2
self.assertEqual(amount_opts, len(opts) - 1)
# ignore non-existing options
- amount_opts = len(ttk._format_optdict(opts, ignore=(u'á', 'b'))) / 2
+ amount_opts = len(ttk._format_optdict(opts, ignore=(u'á', 'b'))) // 2
self.assertEqual(amount_opts, len(opts) - 1)
# ignore every option