[Python-checkins] cpython: Fixes test_getargs2 to get the buildbots working again.

steve.dower python-checkins at python.org
Sun Sep 11 22:44:11 EDT 2016


https://hg.python.org/cpython/rev/7793d34609cb
changeset: 103679:7793d34609cb
user: Steve Dower <steve.dower at microsoft.com>
date: Sun Sep 11 19:43:51 2016 -0700
summary:
 Fixes test_getargs2 to get the buildbots working again.
files:
 Lib/test/test_getargs2.py | 2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Lib/test/test_getargs2.py b/Lib/test/test_getargs2.py
--- a/Lib/test/test_getargs2.py
+++ b/Lib/test/test_getargs2.py
@@ -471,7 +471,7 @@
 
 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))
-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /