Disable an inspect test: it depends on dict ordering which parameter is reported as duplicate.

This commit is contained in:
Georg Brandl 2012-02-21 00:32:36 +01:00
parent 95a97b7c0c
commit 178e5ea305
1 changed files with 2 additions and 1 deletions

View File

@ -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')