diff options
author | Gregory P. Smith <greg@krypto.org> | 2012-02-16 08:34:12 (GMT) |
---|---|---|
committer | Gregory P. Smith <greg@krypto.org> | 2012-02-16 08:34:12 (GMT) |
commit | a124a688a2fc66315efe1f0eff99ec5703830545 (patch) | |
tree | 49d5a7a4c6124c285ab4793a1f9e08a2cd0257b9 /Lib/test | |
parent | 58e7c1dc024345bbd1a37dc9acbaca6af929d527 (diff) | |
download | cpython-a124a688a2fc66315efe1f0eff99ec5703830545.zip cpython-a124a688a2fc66315efe1f0eff99ec5703830545.tar.gz cpython-a124a688a2fc66315efe1f0eff99ec5703830545.tar.bz2 |
don't use assertSameElements.
Diffstat (limited to 'Lib/test')
-rw-r--r-- | Lib/test/test_pty.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_pty.py b/Lib/test/test_pty.py index 55ab914..4f1251c 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') |