[New-bugs-announce] [issue28515] Py3k warnings in Python 2.7 tests

Serhiy Storchaka report at bugs.python.org
Sun Oct 23 12:29:34 EDT 2016


New submission from Serhiy Storchaka:

Several warnings are emitted when run Python 2.7 tests with -Wd -3 options.

1. "DeprecationWarning: <> not supported in 3.x; use !=" and "DeprecationWarning: dict.has_key() not supported in 3.x; use the in operator" in Tools/scripts/fixcid.py.

2. "DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__ in 3.x" in Lib/test/pickletester.py.

3. "SyntaxWarning: tuple parameter unpacking has been removed in 3.x" in Lib/lib-tk/turtle.py.

Proposed patch fixes these warnings.

----------
components: Tests
files: tests_py3k_warns.patch
keywords: patch
messages: 279268
nosy: benjamin.peterson, serhiy.storchaka
priority: normal
severity: normal
stage: patch review
status: open
title: Py3k warnings in Python 2.7 tests
versions: Python 2.7
Added file: http://bugs.python.org/file45197/tests_py3k_warns.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28515>
_______________________________________


More information about the New-bugs-announce mailing list