jenkins-bot has submitted this change and it was merged.
Change subject: [IMPROV] tests: More information on intersect fail ......................................................................
[IMPROV] tests: More information on intersect fail
Instead of just comparing the lengths it should also tell which items are missing/duplicates.
Change-Id: I2d8b60749f0c25b036139237effbc84d05d4d766 --- M tests/thread_tests.py 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: XZise: Looks good to me, but someone else must approve Ladsgroup: Looks good to me, approved jenkins-bot: Verified
diff --git a/tests/thread_tests.py b/tests/thread_tests.py index 79a67a4..581aab0 100644 --- a/tests/thread_tests.py +++ b/tests/thread_tests.py @@ -48,7 +48,7 @@
result = list(intersect_generators(datasets))
- self.assertEqual(len(set(result)), len(result)) + self.assertCountEqual(set(result), result)
self.assertCountEqual(result, set_result)