mirror of
https://github.com/python/cpython.git
synced 2026-01-06 15:32:22 +00:00
don't use assertSameElements.
This commit is contained in:
parent
58e7c1dc02
commit
a124a688a2
1 changed files with 1 additions and 1 deletions
|
|
@ -253,7 +253,7 @@ def test__copy_to_each(self):
|
|||
|
||||
# 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')
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue