Message147562
| Author |
pitrou |
| Recipients |
amaury.forgeotdarc, nadeem.vawda, pitrou, rhettinger |
| Date |
2011年11月13日.17:02:54 |
| SpamBayes Score |
0.00047895784 |
| Marked as misclassified |
No |
| Message-id |
<1321203775.25.0.709544388666.issue13396@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Good idea, IMO.
+ cum = set()
+ for i in range(100):
+ val = getbytes(span)
+ cum |= set(i for i in range(span) if val[i])
+ self.assertEqual(len(cum), span)
I find this test a bit strange. Also, perhaps it should be bitwise rather than bytewise. |
|