From: Steve Dower Date: Mon, 12 Sep 2016 02:43:51 +0000 (-0700) Subject: Fixes test_getargs2 to get the buildbots working again. X-Git-Tag: v3.6.0b1~17^2~12 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a3222b8424e932783e417411e428779d08d2b8a9;p=thirdparty%2FPython%2Fcpython.git Fixes test_getargs2 to get the buildbots working again. --- diff --git a/Lib/test/test_getargs2.py b/Lib/test/test_getargs2.py index 8a194aa03d42..5750bfa5f88d 100644 --- a/Lib/test/test_getargs2.py +++ b/Lib/test/test_getargs2.py @@ -471,7 +471,7 @@ class Tuple_TestCase(unittest.TestCase): ret = get_args(*TupleSubclass([1, 2])) self.assertEqual(ret, (1, 2)) - self.assertIs(type(ret), tuple) + self.assertIsInstance(ret, tuple) ret = get_args() self.assertIn(ret, ((), None))