Comment 2 for bug 2043539

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to oslo.i18n (master)

Reviewed: https://review.opendev.org/c/openstack/oslo.i18n/+/901002
Committed: https://opendev.org/openstack/oslo.i18n/commit/151fa09cf0248b2dfc8bb9e960e0383583985781
Submitter: "Zuul (22348)"
Branch: master

commit 151fa09cf0248b2dfc8bb9e960e0383583985781
Author: Michał Górny <email address hidden>
Date: Wed Nov 15 09:16:21 2023 +0100

    Fix leftover `locale.getdefaultlocale` mock

    Replace the remaining `locale.getdefaultlocale` mock with
    `locale.getlocale`. 77a994a99385d33b1b2e626094cbd09fd0d85873 has
    replaced the `locale.getdefaultlocale()` call and updated all other
    mocks but this one remained, causing test failures on non-en_US locales.

    Closes-Bug: 2043539
    Change-Id: I5ab36a0ead05fa7a83fc1c64e440482f2cc8e675
    Signed-off-by: Michał Górny <email address hidden>