From: Georg Brandl Date: Mon, 20 Feb 2012 23:32:36 +0000 (+0100) Subject: Disable an inspect test: it depends on dict ordering which parameter is reported... X-Git-Tag: v3.2.3rc1~18 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=178e5ea305848015d514f4038118777374e44c87;p=python Disable an inspect test: it depends on dict ordering which parameter is reported as duplicate. --- diff --git a/Lib/test/test_inspect.py b/Lib/test/test_inspect.py index f5318e178b..4b7ee4ed68 100644 --- a/Lib/test/test_inspect.py +++ b/Lib/test/test_inspect.py @@ -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')