Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[2.7] Fix SyntaxWarning on importing test_inspect#1512

Merged
vstinner merged 1 commit into
python:2.7python/cpython:2.7from
vstinner:test_inspect_warn_27Copy head branch name to clipboard
May 9, 2017
Merged

[2.7] Fix SyntaxWarning on importing test_inspect#1512
vstinner merged 1 commit into
python:2.7python/cpython:2.7from
vstinner:test_inspect_warn_27Copy head branch name to clipboard

Conversation

@vstinner

@vstinner vstinner commented May 9, 2017

Copy link
Copy Markdown
Member

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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.