18418978 PosixGroupsTester fails during python 2.6 regress test due to ListEqual
authorJohn Beck <John.Beck@Oracle.COM>
Mon, 24 Mar 2014 17:43:42 -0700
changeset 1788 7948c9c48347
parent 1787 e27e5d7811bf
child 1789 afea5ee094d1
18418978 PosixGroupsTester fails during python 2.6 regress test due to ListEqual
components/python/python26/patches/Python26-34-test_posix.patch
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/python/python26/patches/Python26-34-test_posix.patch	Mon Mar 24 17:43:42 2014 -0700
@@ -0,0 +1,13 @@
+# This patch comes from upstream: http://bugs.python.org/issue10585
+
+--- Python-2.6.8/Lib/test/test_posix.py.orig	2012-04-10 08:32:07.000000000 -0700
++++ Python-2.6.8/Lib/test/test_posix.py	2014-03-24 14:46:34.624941892 -0700
[email protected]@ -353,7 +353,7 @@
+             def test_setgroups(self):
+                 for groups in [[0], range(16)]:
+                     posix.setgroups(groups)
+-                    self.assertListEqual(groups, posix.getgroups())
++                    self.assertEqual(groups, posix.getgroups())
+ 
+ 
+ def test_main():