From: Gregory P. Smith Date: Thu, 16 Feb 2012 08:34:12 +0000 (-0800) Subject: don't use assertSameElements. X-Git-Tag: v3.2.3rc1~49 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a124a688a2fc66315efe1f0eff99ec5703830545;p=thirdparty%2FPython%2Fcpython.git don't use assertSameElements. --- diff --git a/Lib/test/test_pty.py b/Lib/test/test_pty.py index 55ab914f89f8..4f1251cd3683 100644 --- a/Lib/test/test_pty.py +++ b/Lib/test/test_pty.py @@ -253,7 +253,7 @@ class SmallPtyTests(unittest.TestCase): # Test that the right data went to the right places. rfds = select.select([read_from_stdout_fd, masters[1]], [], [], 0)[0] - self.assertSameElements([read_from_stdout_fd, masters[1]], rfds) + self.assertEqual([read_from_stdout_fd, masters[1]], rfds) self.assertEqual(os.read(read_from_stdout_fd, 20), b'from master') self.assertEqual(os.read(masters[1], 20), b'from stdin')