mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
Merge more test vs hashing-order fixes from 3.2.
This commit is contained in:
commit
802505d05e
2 changed files with 3 additions and 1 deletions
|
@ -810,7 +810,8 @@ class TestGetcallargsFunctions(unittest.TestCase):
|
|||
self.assertEqualException(f, '2, 3, 4')
|
||||
self.assertEqualException(f, '1, 2, 3, a=1')
|
||||
self.assertEqualException(f, '2, 3, 4, c=5')
|
||||
self.assertEqualException(f, '2, 3, 4, a=1, c=5')
|
||||
# XXX: success of this one depends on dict order
|
||||
## self.assertEqualException(f, '2, 3, 4, a=1, c=5')
|
||||
# f got an unexpected keyword argument
|
||||
self.assertEqualException(f, 'c=2')
|
||||
self.assertEqualException(f, '2, c=3')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue