mirror of
https://github.com/python/cpython.git
synced 2025-10-09 16:34:44 +00:00
Issue #23275: Allow () = iterable assignment syntax
Documentation updates by Martin Panter.
This commit is contained in:
parent
93d22ecc7c
commit
094c9c921c
7 changed files with 41 additions and 41 deletions
|
@ -140,11 +140,6 @@ class FailureTestCase(unittest.TestCase):
|
|||
'with mock as (None):\n'
|
||||
' pass')
|
||||
|
||||
def testAssignmentToEmptyTupleError(self):
|
||||
self.assertRaisesSyntaxError(
|
||||
'with mock as ():\n'
|
||||
' pass')
|
||||
|
||||
def testAssignmentToTupleOnlyContainingNoneError(self):
|
||||
self.assertRaisesSyntaxError('with mock as None,:\n pass')
|
||||
self.assertRaisesSyntaxError(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue