From 75b749221afea775b9c23d84a26b9790ea7bd09e Mon Sep 17 00:00:00 2001 From: "david.valderrama" Date: Tue, 18 Jun 2019 16:42:51 +0900 Subject: [PATCH] Update python2 test: test_tuples_of_one_look_peculiar --- python2/koans/about_tuples.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python2/koans/about_tuples.py b/python2/koans/about_tuples.py index 7ef9a886d..89e0eff29 100644 --- a/python2/koans/about_tuples.py +++ b/python2/koans/about_tuples.py @@ -41,8 +41,8 @@ def test_tuples_can_only_be_changed_through_replacement(self): def test_tuples_of_one_look_peculiar(self): self.assertEqual(__, (1).__class__) self.assertEqual(__, (1,).__class__) - self.assertEqual(__, ("I'm a tuple",)) - self.assertEqual(__, ("Not a tuple")) + self.assertEqual(__, ("I'm a tuple",).__class__) + self.assertEqual(__, ("Not a tuple").__class__) def test_tuple_constructor_can_be_surprising(self): self.assertEqual(__, tuple("Surprise!"))