Skip to content

[2.7] Fix SyntaxWarning on importing test_inspect#1512

Merged
vstinner merged 1 commit into
python:2.7from
vstinner:test_inspect_warn_27
May 9, 2017
Merged

[2.7] Fix SyntaxWarning on importing test_inspect#1512
vstinner merged 1 commit into
python:2.7from
vstinner:test_inspect_warn_27

Conversation

@vstinner
Copy link
Copy Markdown
Member

@vstinner vstinner commented May 9, 2017

Fix the following warning when test_inspect.py is compiled to
test_inspect.pyc:

test_inspect.py:505: SyntaxWarning: tuple parameter unpacking has been removed in 3.x
def spam_deref(a, b, c, d=3, (e, (f,))=(4, (5,)), *g, **h):

Replace also test.test_support import with test.support.

Fix the following warning when test_inspect.py is compiled to
test_inspect.pyc:

test_inspect.py:505: SyntaxWarning: tuple parameter unpacking has been removed in 3.x
  def spam_deref(a, b, c, d=3, (e, (f,))=(4, (5,)), *g, **h):

Replace also test.test_support import with test.support.
@vstinner vstinner merged commit c8a77d3 into python:2.7 May 9, 2017
@vstinner vstinner deleted the test_inspect_warn_27 branch May 9, 2017 09:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants