Message120236
| Author |
scoder |
| Recipients |
scoder |
| Date |
2010年11月02日.16:09:45 |
| SpamBayes Score |
0.00057203945 |
| Marked as misclassified |
No |
| Message-id |
<1288714188.98.0.557257896773.issue10294@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Lib/test/test_unicode_file.py contains dead code:
def _test_equivalent(self, filename1, filename2):
remove_if_exists(filename1)
self.assertTrue(not os.path.exists(filename2))
f = file(filename1, "w")
f.close()
try:
self._do_equivalent(filename1, filename2)
finally:
os.unlink(filename1)
Note how this refers to the now-gone "file()". The method is never used in the test code. Similarly, the "_do_equivalent()" method that it calls appears otherwise unused. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2010年11月02日 16:09:49 | scoder | set | recipients:
+ scoder |
| 2010年11月02日 16:09:48 | scoder | set | messageid: <1288714188.98.0.557257896773.issue10294@psf.upfronthosting.co.za> |
| 2010年11月02日 16:09:46 | scoder | link | issue10294 messages |
| 2010年11月02日 16:09:45 | scoder | create |
|