◐ Shell
clean mode source ↗

[2.7] Fix SyntaxWarning on importing test_inspect by vstinner · Pull Request #1512 · python/cpython

@vstinner

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.