You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=<Date2010-03-15.18:19:21.817>created_at=<Date2010-01-26.08:21:34.244>labels= ['type-bug', 'tests', 'expert-unicode']
title='test_normalization fails when NormalizationTest.txt is outdated'updated_at=<Date2010-03-21.14:36:54.817>user='https://github.com/florentx'
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.
The function "test_support.open_urlresource" is enhanced with an optional argument "check" which receives a function. This "check" function accepts an open file as input and return False if the file is outdated.
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: