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.

Author flox
Recipients flox
Date 2010-01-26.08:21:33
SpamBayes Score 4.1704413e-07
Marked as misclassified No
Message-id <1264494095.66.0.402939893086.issue7783@psf.upfronthosting.co.za>
In-reply-to
Content
The test "test_normalization" download a file from the "unicode.org" website and keep it in the local cache "Lib/test/data/" directory for next runs.
On test setup, it verifies if the 1st line contains the right version "unicodedata.unidata_version".
It should unlink the file if it is outdated.
But it does not work as expected: it looks for the file in the wrong directory.

~ $ echo "# NormalizationTest-3.0.0.txt ~ outdated version" > Lib/test/data/NormalizationTest.txt

~ $ ./python -m test.regrtest -uall test_normalization
test_normalization
test test_normalization failed -- Traceback (most recent call last):
  File "./Lib/test/test_normalization.py", line 96, in test_main
    self.assertTrue(X == NFC(X) == NFD(X) == NFKC(X) == NFKD(X), c)
AssertionError: 160

1 test failed:
    test_normalization

~ $ cat Lib/test/data/NormalizationTest.txt
# NormalizationTest-3.0.0.txt ~ outdated version
History
Date User Action Args
2010-01-26 08:21:35floxsetrecipients: + flox
2010-01-26 08:21:35floxsetmessageid: <1264494095.66.0.402939893086.issue7783@psf.upfronthosting.co.za>
2010-01-26 08:21:34floxlinkissue7783 messages
2010-01-26 08:21:33floxcreate