SIGN IN SIGN UP

gh-80527: Change support.requires_legacy_unicode_capi() (#108438)

The decorator now requires to be called with parenthesis:

    @support.requires_legacy_unicode_capi()

instead of:

    @support.requires_legacy_unicode_capi

The implementation now only imports _testcapi when the decorator is
called, so "import test.support" no longer imports the _testcapi
extension.
V
Victor Stinner committed
995f4c48e11349fbfb9233e02b732d4534d3008e
Parent: fa6933e
Committed by GitHub <noreply@github.com> on 8/24/2023, 6:09:23 PM