summaryrefslogtreecommitdiffstats
path: root/Lib/json/tests/test_speedups.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2017-10-22 09:15:41 (GMT)
committerGitHub <noreply@github.com>2017-10-22 09:15:41 (GMT)
commit4dc05c34ac5269bee55455296909ec47ad8ebb24 (patch)
tree36e79e6d1d8e3442098e44b6c25281f99f3b1b7f /Lib/json/tests/test_speedups.py
parent8fa0648f89e31f3e4b6f47435198ecf57e86b8b0 (diff)
downloadcpython-4dc05c34ac5269bee55455296909ec47ad8ebb24.zip
cpython-4dc05c34ac5269bee55455296909ec47ad8ebb24.tar.gz
cpython-4dc05c34ac5269bee55455296909ec47ad8ebb24.tar.bz2
Fix py3k warnings in 1/0 in tests. (#4072)
Diffstat (limited to 'Lib/json/tests/test_speedups.py')
-rw-r--r--Lib/json/tests/test_speedups.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/json/tests/test_speedups.py b/Lib/json/tests/test_speedups.py
index 6ff8401..a6b7c38 100644
--- a/Lib/json/tests/test_speedups.py
+++ b/Lib/json/tests/test_speedups.py
@@ -3,7 +3,7 @@ from json.tests import CTest
class BadBool:
def __nonzero__(self):
- 1/0
+ 1/0.0
class TestSpeedups(CTest):