| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 4230d7c commit 06aa63b
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -5472,7 +5472,9 @@ def test_nested_startmethod(self): | |||
| 5472 | 5472 | while not queue.empty(): | |
| 5473 | 5473 | results.append(queue.get()) | |
| 5474 | 5474 | ||
| 5475 | - self.assertEqual(results, [2, 1]) | ||
| 5475 | + # gh-109706: queue.put(1) can write into the queue before queue.put(2), | ||
| 5476 | + # there is no synchronization in the test. | ||
| 5477 | + self.assertSetEqual(set(results), set([2, 1])) | ||
| 5476 | 5478 | ||
| 5477 | 5479 | ||
| 5478 | 5480 | @unittest.skipIf(sys.platform == "win32", | |
| Back | FazBrowse Home | New Git URL |
0 commit comments