]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Fix DeprecationWarning in test_bytes (GH-10805)
authorVictor Stinner <vstinner@redhat.com>
Fri, 30 Nov 2018 10:04:42 +0000 (11:04 +0100)
committerGitHub <noreply@github.com>
Fri, 30 Nov 2018 10:04:42 +0000 (11:04 +0100)
commitd7a880c3c2b73415a42c8a2f900c6bc597de115d
tree91c7fd56bd82e36704e8434cd2222f18b557f1e4
parentf3fe21a3cacbc5d13c3e61cefb36ce0efe617cd7
Fix DeprecationWarning in test_bytes (GH-10805)

Running test_bytes with python -3 -Wd emits two DeprecationWarning on
"1/0". Use "1//0" to prevent the warning.
Lib/test/test_bytes.py