Issue1010952
This issue tracker has been migrated to GitHub,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2004-08-17 19:13 by ronaldoussoren, last changed 2022-04-11 14:56 by admin. This issue is now closed.
Messages (8) | |||
---|---|---|---|
msg22104 - (view) | Author: Ronald Oussoren (ronaldoussoren) * | Date: 2004-08-17 19:13 | |
The only way I've found to actually run the codecmap tests is by running it over and over again, downloading the missing files when a test complains in between, until the tests no longer complains. E.g $ make test - test_codecmap_jp complains about a missing file - download this file $ make test - test_codecmap_jp complains about another missing filie - ... Another problem: it is completely unclear where I should place the downloaded files. I've worked around this by placing the files in Lib/test and patching test_multibytecodec_support to look for the files in os.path.dirname(__file__): cvs diff: Diffing . Index: test_multibytecodec_support.py ========================================= ========================== RCS file: /cvsroot/python/python/dist/src/Lib/test/ test_multibytecodec_support.py,v retrieving revision 1.5 diff -r1.5 test_multibytecodec_support.py 165a166 > self.mapfilename = os.path.join(os.path.dirname(__file__), self.mapfilename) It would be nice if there were a document that described what should be done to run these tests, adding the required files to CVS would be fine too :-) |
|||
msg22105 - (view) | Author: Ronald Oussoren (ronaldoussoren) * | Date: 2004-08-17 19:19 | |
Logged In: YES user_id=580910 test_normalization suffers from a simular problem. |
|||
msg22106 - (view) | Author: Martin v. Löwis (loewis) * | Date: 2004-08-20 07:26 | |
Logged In: YES user_id=21627 Adding the files to the CVS is unacceptable, because they would then end up in the distribution, and their size is considered unacceptable for distribution (let alone copyright issues with these files). |
|||
msg22107 - (view) | Author: Anthony Baxter (anthonybaxter) | Date: 2004-10-13 15:12 | |
Logged In: YES user_id=29957 Could we at least get a single tarball/zip file of all of the files? At the moment, it takes a serious amount of effort to fetch all the files. |
|||
msg22108 - (view) | Author: Johannes Gijsbers (jlgijsbers) * | Date: 2004-10-13 19:59 | |
Logged In: YES user_id=469548 How about adding the files to nondist? |
|||
msg22109 - (view) | Author: Marc-Andre Lemburg (lemburg) * | Date: 2004-10-13 20:04 | |
Logged In: YES user_id=38388 Just a suggestion: Why don't we add a new resource option to the test scripts and then have the tests download the files from the Internet as necessary ?! |
|||
msg22110 - (view) | Author: Hyeshik Chang (hyeshik.chang) * | Date: 2005-08-30 07:06 | |
Logged In: YES user_id=55188 I wrote a patch that draws on lemburg's suggestion. Please test it: SF #1276356. |
|||
msg22111 - (view) | Author: Hyeshik Chang (hyeshik.chang) * | Date: 2005-12-10 17:48 | |
Logged In: YES user_id=55188 Fixed in r41637. Thank you! |
History | |||
---|---|---|---|
Date | User | Action | Args |
2022-04-11 14:56:06 | admin | set | github: 40774 |
2004-08-17 19:13:49 | ronaldoussoren | create |