summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2013-07-14 05:42:09 (GMT)
committerRaymond Hettinger <python@rcn.com>2013-07-14 05:42:09 (GMT)
commit889b92d3aa88b1d38d1f96907e0c02bea6d81777 (patch)
tree32046963e8426707bcf0715578fc3c28b36119ff /Lib/test
parente6a17862e7f5739a669a98c2699a595a03fbe364 (diff)
downloadcpython-889b92d3aa88b1d38d1f96907e0c02bea6d81777.zip
cpython-889b92d3aa88b1d38d1f96907e0c02bea6d81777.tar.gz
cpython-889b92d3aa88b1d38d1f96907e0c02bea6d81777.tar.bz2
Issue #18432: Fix unintended API change in the sched module
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/test_sched.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_sched.py b/Lib/test/test_sched.py
index 1fe6ad4..070886d 100644
--- a/Lib/test/test_sched.py
+++ b/Lib/test/test_sched.py
@@ -172,7 +172,7 @@ class TestCase(unittest.TestCase):
e3 = scheduler.enterabs(now + 0.03, 1, fun)
# queue property is supposed to return an order list of
# upcoming events
- self.assertEqual(list(scheduler.queue), [e1, e2, e3, e4, e5])
+ self.assertEqual(scheduler.queue, [e1, e2, e3, e4, e5])
def test_args_kwargs(self):
flag = []