START: ptest-runner
2026-11-03T08:18
SKIP: tests/test_fastcall_args.py:tests/test_fastcall_args.py # SKIP could not import 'wcwidth._wcwidth_c': No module named 'wcwidth._wcwidth_c'
SKIP: tests/test_setup.py:tests/test_setup.py # SKIP could not import 'setuptools': No module named 'setuptools'

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_ambiguous.py:test_wcwidth_ambiguous_default[\xa1-INVERTED_EXCLAMATION]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_ambiguous.py:test_wcwidth_ambiguous_default[\xa7-SECTION_SIGN]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_ambiguous.py:test_wcwidth_ambiguous_default[\xb0-DEGREE_SIGN]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_ambiguous.py:test_wcwidth_ambiguous_default[\xb1-PLUS_MINUS]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_ambiguous.py:test_wcwidth_ambiguous_default[\xd7-MULTIPLICATION]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_ambiguous.py:test_wcwidth_ambiguous_default[\xf7-DIVISION]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_ambiguous.py:test_wcwidth_ambiguous_default[\u2460-CIRCLED_ONE]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_ambiguous.py:test_wcwidth_ambiguous_default[\u2500-BOX_HORIZONTAL]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_ambiguous.py:test_wcwidth_ambiguous_default[\u25a0-BLACK_SQUARE]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_ambiguous.py:test_wcwidth_ambiguous_default[\u2605-BLACK_STAR]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_ambiguous.py:test_wcwidth_ambiguous_wide[\xa1-INVERTED_EXCLAMATION]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_ambiguous.py:test_wcwidth_ambiguous_wide[\xa7-SECTION_SIGN]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_ambiguous.py:test_wcwidth_ambiguous_wide[\xb0-DEGREE_SIGN]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_ambiguous.py:test_wcwidth_ambiguous_wide[\xb1-PLUS_MINUS]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_ambiguous.py:test_wcwidth_ambiguous_wide[\xd7-MULTIPLICATION]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_ambiguous.py:test_wcwidth_ambiguous_wide[\xf7-DIVISION]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_ambiguous.py:test_wcwidth_ambiguous_wide[\u2460-CIRCLED_ONE]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_ambiguous.py:test_wcwidth_ambiguous_wide[\u2500-BOX_HORIZONTAL]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_ambiguous.py:test_wcwidth_ambiguous_wide[\u25a0-BLACK_SQUARE]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_ambiguous.py:test_wcwidth_ambiguous_wide[\u2605-BLACK_STAR]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_ambiguous.py:test_wcswidth_mixed_ambiguous_and_wide

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_ambiguous.py:test_width_ambiguous

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_ambiguous.py:test_ljust_ambiguous

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_ambiguous.py:test_rjust_ambiguous

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_ambiguous.py:test_center_ambiguous

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_ambiguous.py:test_wrap_ambiguous

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_ambiguous.py:test_wide_not_affected_by_ambiguous

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_ambiguous.py:test_ambiguous_width_out_of_range_is_clamped[-1-1]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_ambiguous.py:test_ambiguous_width_out_of_range_is_clamped[0-1]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_ambiguous.py:test_ambiguous_width_out_of_range_is_clamped[3-2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_ambiguous.py:test_ambiguous_width_out_of_range_is_clamped[99-2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_wcwidth_ascii

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_wcwidth_wide

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_wcwidth_emoji

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_wcwidth_combining

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_wcswidth_short_ascii

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_wcswidth_short_mixed

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_wcswidth_long_ascii

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_wcswidth_long_japanese

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_wcswidth_emoji_sequence

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_wcswidth_latin1

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_wcswidth_vs15

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_wcswidth_indic

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_wcswidth_ambiguous_latin1

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_wcswidth_ri_flags_paired

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_wcswidth_ri_flags_unpaired

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_width_ri_flags_paired

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_width_ri_flags_unpaired

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_wcswidth_composed

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_wcswidth_decomposed

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_width_composed

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_width_decomposed

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_width_ascii

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_width_ascii_default_corrections

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_width_with_ansi_codes

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_width_complex_ansi

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_iter_graphemes_ascii

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_iter_graphemes_emoji

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_iter_graphemes_combining

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_iter_graphemes_latin1

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_iter_graphemes_cjk

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_iter_graphemes_flags

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_iter_graphemes_zwj_family

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_iter_graphemes_indic

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_iter_graphemes_start_long

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_grapheme_boundary_before_short

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_grapheme_boundary_before_long_end

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_grapheme_boundary_before_long_mid

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_iter_graphemes_reverse_short

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_iter_graphemes_reverse_long

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_grapheme_boundary_before_ascii

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_grapheme_boundary_before_latin1

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_grapheme_boundary_before_cjk

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_iter_graphemes_reverse_ascii

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_iter_graphemes_reverse_latin1

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_iter_graphemes_reverse_cjk

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_ljust_ascii

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_ljust_ascii_default_corrections

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_ljust_japanese

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_rjust_ascii

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_rjust_japanese

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_center_ascii

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_center_mixed

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_wrap_short_ascii

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_wrap_long_text

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_wrap_japanese

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_wrap_with_ansi

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_wrap_with_ansi_no_propagate

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_wrap_complex_sgr

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_wrap_hyperlink_no_id

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_wrap_hyperlink_with_id

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_wrap_hyperlink_mixed

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_clip_ascii

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_clip_japanese

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_clip_with_ansi

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_clip_with_ansi_no_propagate

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_clip_complex_sgr

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_clip_long_cjk_past_window

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_clip_cjk_paragraph

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_clip_cjk_paragraph_overtyping

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_clip_emoji_zwj

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_clip_dense_ansi_past_window

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_clip_dense_ansi_no_propagate

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_clip_osc8_hyperlinks

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_width_osc66

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_clip_osc66

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_clip_cursor_cr_overwrite

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_clip_cursor_csi_backward

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_clip_long_ascii_fastpath

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_clip_with_ansi_no_overtype

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_clip_complex_sgr_no_overtype

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_clip_dense_ansi_no_overtype

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_clip_dense_ansi_no_propagate_no_overtype

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_clip_dense_ansi_overtype

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_clip_long_cjk_overtype

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_width_dense_ansi_control_codes_ignore

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_width_complex_ansi_control_codes_ignore

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_clip_dense_ansi_control_codes_ignore

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_clip_long_cjk_control_codes_ignore

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_clip_cursor_cr_control_codes_ignore

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_clip_dense_ansi_no_propagate_control_codes_ignore

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_clip_long_ascii_control_codes_ignore

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_wrap_with_ansi_control_codes_ignore

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_ljust_ascii_control_codes_ignore

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_propagate_sgr_multiline

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_propagate_sgr_no_sequences

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_strip_sequences_simple

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_strip_sequences_complex

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_iter_sequences_plain

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_iter_sequences_mixed

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_wcswidth_brahmic_devanagari

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_wcswidth_brahmic_bengali

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_width_brahmic_devanagari

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_width_brahmic_bengali
SKIP: tests/test_benchmarks.py:test_wrap_udhr # SKIP udhr_combined.txt is missing; run bin/update-tables.py
SKIP: tests/test_benchmarks.py:test_width_udhr # SKIP udhr_combined.txt is missing; run bin/update-tables.py
SKIP: tests/test_benchmarks.py:test_width_udhr_lines # SKIP udhr_combined.txt is missing; run bin/update-tables.py
SKIP: tests/test_benchmarks.py:test_width_wcswidth_consistency_udhr # SKIP udhr_combined.txt is missing; run bin/update-tables.py
SKIP: tests/test_benchmarks.py:test_width_fastpath_integrity_udhr # SKIP udhr_combined.txt is missing; run bin/update-tables.py
SKIP: tests/test_benchmarks.py:test_ljust_udhr_lines # SKIP udhr_combined.txt is missing; run bin/update-tables.py

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_wcstwidth_term_program[ghostty]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_wcstwidth_term_program[xterm.js]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_wcstwidth_ri_term_program[ghostty]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_wcstwidth_ri_term_program[xterm.js]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_wcstwidth_emoji_term_program[ghostty]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_wcstwidth_emoji_term_program[xterm.js]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_wcstwidth_wide_term_program[ghostty]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_wcstwidth_wide_term_program[xterm.js]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_width_term_program[ghostty]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_width_term_program[xterm.js]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_width_ri_term_program[ghostty]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_width_ri_term_program[xterm.js]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_wcstwidth_vs16_term_program[ghostty]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_wcstwidth_vs16_term_program[xterm.js]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_wcstwidth_vs15_term_program[ghostty]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_wcstwidth_vs15_term_program[xterm.js]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_width_vs16_term_program[ghostty]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_width_vs16_term_program[xterm.js]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_width_vs15_term_program[ghostty]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_width_vs15_term_program[xterm.js]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_clip_ascii_to_end

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_clip_long_ascii_to_end

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_clip_japanese_to_end

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_clip_long_cjk_to_end

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_clip_dense_ansi_to_end

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_clip_dense_ansi_to_end_no_propagate

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_clip_osc8_hyperlinks_to_end

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_benchmarks.py:test_clip_cursor_cr_to_end

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_strip_sequences[-]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_strip_sequences[hello-hello]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_strip_sequences[hello world-hello world]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_strip_sequences[\x1b[31m-]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_strip_sequences[\x1b[0m-]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_strip_sequences[\x1b[m-]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_strip_sequences[\x1b[31mred\x1b[0m-red]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_strip_sequences[\x1b[1m\x1b[31mbold red\x1b[0m-bold red]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_strip_sequences[\x1b[1m\x1b[31m\x1b[4m-]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_strip_sequences[\x1b[1mbold\x1b[0m \x1b[3mitalic\x1b[0m-bold italic]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_strip_sequences[\x1b]0;title\x07-]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_strip_sequences[\x1b]0;title\x07text-text]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_strip_sequences[\x1b]8;;https://example.com\x07link\x1b]8;;\x07-link]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_strip_sequences[\x1b[31m\u4e2d\u6587\x1b[0m-\u4e2d\u6587]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_strip_sequences[\x1b[1m\U0001f468\u200d\U0001f469\u200d\U0001f467\x1b[0m-\U0001f468\u200d\U0001f469\u200d\U0001f467]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_strip_sequences[\x1b-\x1b]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_strip_sequences[a\x1bb-a]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_strip_sequences[\x1b[-]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_strip_sequences[text\x1b[mmore-textmore]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_basic[-0-5-]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_basic[-0-0-]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_basic[hello-0-0-]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_basic[hello-5-5-]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_basic[hello-5-3-]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_basic[hello--5-3-hel]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_basic[hello-0-5-hello]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_basic[hello-0-3-hel]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_basic[hello-2-5-llo]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_basic[hello-1-4-ell]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_basic[hello world-0-5-hello]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_basic[hello world-6-11-world]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_basic[hello world-0-11-hello world]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_basic[hi-0-100-hi]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_basic[hi-100-200-]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_cjk[\u4e2d\u6587\u5b57-0-6-\u4e2d\u6587\u5b57]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_cjk[\u4e2d\u6587\u5b57-0-4-\u4e2d\u6587]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_cjk[\u4e2d\u6587\u5b57-0-2-\u4e2d]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_cjk[\u4e2d\u6587\u5b57-2-4-\u6587]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_cjk[\u4e2d\u6587\u5b57-0-3-\u4e2d ]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_cjk[\u4e2d\u6587\u5b57-1-6- \u6587\u5b57]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_cjk[\u4e2d\u6587\u5b57-1-5- \u6587 ]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_cjk[A\u4e2dB-0-4-A\u4e2dB]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_cjk[A\u4e2dB-0-3-A\u4e2d]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_cjk[A\u4e2dB-1-4-\u4e2dB]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_cjk[A\u4e2dB-1-3-\u4e2d]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_cjk[A\u4e2dB-2-4- B]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_cjk[\u4e2d-0-2-\u4e2d]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_cjk[\u4e2d-0-1- ]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_cjk[\u4e2d-1-2- ]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_cjk_custom_fillchar

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_cjk_width_consistency[\u4e2d\u6587\u5b57-0-6-6]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_cjk_width_consistency[\u4e2d\u6587\u5b57-0-3-3]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_cjk_width_consistency[\u4e2d\u6587\u5b57-1-6-5]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_cjk_width_consistency[\u4e2d\u6587\u5b57-1-5-4]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_virama_conjunct_known_limitation[\u0b95\u0bcd\u0b95\u0bcd\u0b95]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_virama_conjunct_known_limitation[\u0c95\u0ccd\u0c95\u0ccd\u0c95]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_virama_conjunct_known_limitation[\u0d9a\u0dca\u0d9a\u0dca\u0d9a]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_sequences_preserve_sgr

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_sequences_before_start

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_sequences_after_end

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_sequences_multiple

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_sequences_only

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_sgr_inside_window_preserved[kwargs0]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_sgr_inside_window_preserved[kwargs1]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_sgr_inside_window_preserved[kwargs2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_sgr_before_start_folded_into_prefix[kwargs0]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_sgr_before_start_folded_into_prefix[kwargs1]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_sgr_before_start_folded_into_prefix[kwargs2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_sgr_after_end_discarded[kwargs0]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_sgr_after_end_discarded[kwargs1]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_sgr_after_end_discarded[kwargs2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_matches_propagate_sgr[plain text-kwargs0]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_matches_propagate_sgr[plain text-kwargs1]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_matches_propagate_sgr[plain text-kwargs2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_matches_propagate_sgr[\x1b[31mred-kwargs0]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_matches_propagate_sgr[\x1b[31mred-kwargs1]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_matches_propagate_sgr[\x1b[31mred-kwargs2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_matches_propagate_sgr[\x1b[31mred\x1b[0m-kwargs0]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_matches_propagate_sgr[\x1b[31mred\x1b[0m-kwargs1]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_matches_propagate_sgr[\x1b[31mred\x1b[0m-kwargs2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_matches_propagate_sgr[\x1b[1mbold\x1b[m normal-kwargs0]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_matches_propagate_sgr[\x1b[1mbold\x1b[m normal-kwargs1]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_matches_propagate_sgr[\x1b[1mbold\x1b[m normal-kwargs2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_matches_propagate_sgr[\x1b[31mred\x1b[32mgreen\x1b[0m-kwargs0]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_matches_propagate_sgr[\x1b[31mred\x1b[32mgreen\x1b[0m-kwargs1]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_matches_propagate_sgr[\x1b[31mred\x1b[32mgreen\x1b[0m-kwargs2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_matches_propagate_sgr[plain \x1b[4munderline-kwargs0]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_matches_propagate_sgr[plain \x1b[4munderline-kwargs1]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_matches_propagate_sgr[plain \x1b[4munderline-kwargs2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_sgr_result_is_self_contained[\x1b[1m\x1b[31mbold red\x1b[0m-kwargs0]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_sgr_result_is_self_contained[\x1b[1m\x1b[31mbold red\x1b[0m-kwargs1]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_sgr_result_is_self_contained[\x1b[1m\x1b[31mbold red\x1b[0m-kwargs2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_sgr_result_is_self_contained[\x1b[31mred\x1b[32mgreen\x1b[0m-kwargs0]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_sgr_result_is_self_contained[\x1b[31mred\x1b[32mgreen\x1b[0m-kwargs1]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_sgr_result_is_self_contained[\x1b[31mred\x1b[32mgreen\x1b[0m-kwargs2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_sgr_result_is_self_contained[\x1b[?25l\x1b[31mred-kwargs0]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_sgr_result_is_self_contained[\x1b[?25l\x1b[31mred-kwargs1]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_sgr_result_is_self_contained[\x1b[?25l\x1b[31mred-kwargs2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_sgr_after_non_sgr_sequence[kwargs0]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_sgr_after_non_sgr_sequence[kwargs1]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_sgr_after_non_sgr_sequence[kwargs2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_sgr_inside_hyperlink_tracked[kwargs0]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_sgr_inside_hyperlink_tracked[kwargs1]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_sgr_inside_hyperlink_untracked[kwargs0]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_sgr_inside_hyperlink_untracked[kwargs1]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_sequences_osc_hyperlink

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_osc_hyperlink_text_clipping[\x1b]8;;http://example.com\x07link\x1b]8;;\x07-0-4-\x1b]8;;http://example.com\x07link\x1b]8;;\x07]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_osc_hyperlink_text_clipping[\x1b]8;;http://example.com\x07Click This link\x1b]8;;\x07-6-10-\x1b]8;;http://example.com\x07This\x1b]8;;\x07]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_osc_hyperlink_text_clipping[\x1b]8;;http://example.com\x07Click This\x1b]8;;\x07-0-5-\x1b]8;;http://example.com\x07Click\x1b]8;;\x07]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_osc_hyperlink_text_clipping[\x1b]8;;http://example.com\x07Click This\x1b]8;;\x07-6-10-\x1b]8;;http://example.com\x07This\x1b]8;;\x07]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_osc_hyperlink_text_clipping[\x1b]8;;http://example.com\x07link\x1b]8;;\x07world-0-4-\x1b]8;;http://example.com\x07link\x1b]8;;\x07]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_osc_hyperlink_text_clipping[hello\x1b]8;;http://example.com\x07link\x1b]8;;\x07-0-5-hello]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_osc_hyperlink_text_clipping[\x1b]8;;http://example.com\x07link\x1b]8;;\x07-5-10-]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_osc_hyperlink_text_clipping[before\x1b]8;;http://example.com\x07\x1b]8;;\x07after-0-11-beforeafter]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_osc_hyperlink_text_clipping[\x1b]8;;http://example.com\x07\u4e2d\u6587\u6587\u5b57\x1b]8;;\x07-0-4-\x1b]8;;http://example.com\x07\u4e2d\u6587\x1b]8;;\x07]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_osc_hyperlink_text_clipping[\x1b]8;;http://example.com\x07\u4e2d\u6587\u6587\u5b57\x1b]8;;\x07-0-3-\x1b]8;;http://example.com\x07\u4e2d \x1b]8;;\x07]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_osc_hyperlink_text_clipping[\x1b]8;;http://example.com\x1b\\Click This\x1b]8;;\x1b\\-0-5-\x1b]8;;http://example.com\x1b\\Click\x1b]8;;\x1b\\]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_osc_hyperlink_text_clipping[\x1b]8;;http://example.com\x07ab\x1b]8;;\x07 \x1b]8;;http://example.com\x1b\\cd\x1b]8;;\x1b\\-0-5-\x1b]8;;http://example.com\x07ab\x1b]8;;\x07 \x1b]8;;http://example.com\x1b\\cd\x1b]8;;\x1b\\]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_osc_hyperlink_text_clipping[\x1b]8;id=myid;http://example.com\x07link\x1b]8;;\x07-1-3-\x1b]8;id=myid;http://example.com\x07in\x1b]8;;\x07]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_osc_hyperlink_text_clipping[before\x1b]8;;http://example.com\x07link\x1b]8;;\x07-6-10-\x1b]8;;http://example.com\x07link\x1b]8;;\x07]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_osc_hyperlink_text_clipping[\x1b]8;;http://example.com\x07\x1b[31mred link\x1b[0m\x1b]8;;\x07-4-8-\x1b]8;;http://example.com\x07\x1b[31mlink\x1b[0m\x1b]8;;\x07]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_osc_hyperlink_text_clipping[\x1b]8;;http://example.com\x07link-0-4-\x1b]8;;http://example.com\x07link]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_osc_hyperlink_text_clipping[\x1b]8;;url\x07ab\x1bxcd\x1b]8;;\x07-0-6-\x1b]8;;url\x07ab\x1bxcd\x1b]8;;\x07]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_osc_hyperlink_text_clipping[\x1b]8;;a\x07AB\x1b]8;;b\x07CD\x1b]8;;\x07EF-0-6-\x1b]8;;a\x07AB\x1b]8;;b\x07CD\x1b]8;;\x07EF]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_osc_hyperlink_text_clipping[\x1b]8;;a\x07AB\x1b]8;;b\x07CD-0-4-\x1b]8;;a\x07AB\x1b]8;;b\x07CD]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_osc_hyperlink_text_clipping[\x1b]8;;a\x07ABCD \x1b]8;;b\x07XY\x1b]8;;\x07 EF\x1b]8;;\x07-0-10-\x1b]8;;a\x07ABCD \x1b]8;;b\x07XY\x1b]8;;\x07 EF\x1b]8;;\x07]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_hyperlink_control_codes_overwrite[parse-0-4-\x1b]8;;http://example.com\x07link\x1b]8;;\x07]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_hyperlink_control_codes_overwrite[parse-0-3-\x1b]8;;http://example.com\x07lin\x1b]8;;\x07]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_hyperlink_control_codes_overwrite[parse-0-2-\x1b]8;;http://example.com\x07li\x1b]8;;\x07]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_hyperlink_control_codes_overwrite[parse-0-1-\x1b]8;;http://example.com\x07l\x1b]8;;\x07]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_hyperlink_control_codes_overwrite[parse-1-4-\x1b]8;;http://example.com\x07ink\x1b]8;;\x07y]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_hyperlink_control_codes_overwrite[parse-1-3-\x1b]8;;http://example.com\x07in\x1b]8;;\x07x]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_hyperlink_control_codes_overwrite[parse-1-2-\x1b]8;;http://example.com\x07i\x1b]8;;\x07]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_hyperlink_control_codes_overwrite[ignore-0-20-\x1b]8;;http://example.com\x07link\x1b]8;;\x07\x1b[2Dxy]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_hyperlink_control_codes_overwrite[parse-0-20-\x1b]8;;http://example.com\x07link\x1b]8;;\x07]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_hyperlink_control_codes_overwrite[strict-0-20-\x1b]8;;http://example.com\x07link\x1b]8;;\x07]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_hyperlink_painter_cases[\x1b[2D\x1b]8;;http://example.com\x07\x1b]8;;\x07xy-parse-0-4-xy]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_hyperlink_painter_cases[\x1b[2Dab\x1b]8;;http://example.com\x07cde\x1b]8;;\x07-parse-0-2-ab]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_hyperlink_painter_cases[\x1b]8;;http://example.com\x07ab\x1b]8;;\x07\x1b[2Dcdef-parse-2-4-ef]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_hyperlink_painter_cases[\x1b[2D\x1b]8;;http://example.com\x07abcdef\x1b]8;;\x07-parse-0-3-\x1b]8;;http://example.com\x07abc\x1b]8;;\x07]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_hyperlink_painter_cases[\x1b[2D\x1b]8;;http://example.com\x07a\x1bb\x1b]8;;\x07-parse-0-4-\x1b]8;;http://example.com\x07a\x1bb\x1b]8;;\x07]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_hyperlink_painter_cases[\x1b]8;;http://example.com\x07link\x1b]8;;\x07\x1b[5Chi-strict-0-11-\x1b]8;;http://example.com\x07link\x1b]8;;\x07     hi]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_sequences_cjk_with_sequences

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_sequences_partial_wide_at_start

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_sequences_between_chars

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_sequences_fs_escape

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_emoji[\U0001f600-2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_emoji[\U0001f468\u200d\U0001f469\u200d\U0001f467-2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_emoji[\u2764\ufe0f-2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_emoji[\U0001f1fa\U0001f1f8-2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_emoji_with_sequences

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_combining_accent

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_combining_multiple

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_zero_width_position_bounds

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_prepend_grapheme

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_ambiguous_width_1

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_ambiguous_width_2

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_tab_expansion[a\tb-0-10-8-a       b]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_tab_expansion[a\tb-0-4-8-a   ]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_tab_expansion[a\tb-0-10-4-a   b]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_tab_expansion[a\tb-4-10-8-    b]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_tab_expansion[a\tb\tc-0-20-4-a   b   c]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_tab_expansion[\u4e2d\tb-0-10-4-\u4e2d  b]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_tab_expansion[a\tb-0-5-0-a\tb]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_tabsize_zero_respects_window[False-a\tb-2-10-]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_tabsize_zero_respects_window[False-ab\tc-0-2-ab]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_tabsize_zero_respects_window[False-\txyz-1-3-yz]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_tabsize_zero_respects_window[False-hello\tworld-0-5-hello]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_tabsize_zero_respects_window[False-hello\tworld-5-8-\twor]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_tabsize_zero_respects_window[True-a\tb-2-10-]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_tabsize_zero_respects_window[True-ab\tc-0-2-ab]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_tabsize_zero_respects_window[True-\txyz-1-3-yz]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_tabsize_zero_respects_window[True-hello\tworld-0-5-hello]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_tabsize_zero_respects_window[True-hello\tworld-5-8-\twor]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_tab_with_sequences

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_control_chars_zero_width[abc\x08de-0-5-abde]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_control_chars_zero_width[ab\x07cd-0-4-ab\x07cd]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_control_chars_zero_width[ab\x00cd-0-4-ab\x00cd]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_control_chars_zero_width[abc\rde-0-5-dec]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_control_chars_zero_width[\x07\x08\rHello-0-5-\x07Hello]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_control_chars_zero_width[ab\x01\x02cd-0-4-ab\x01\x02cd]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_control_chars_zero_width[ab\x1b\x00cd-0-4-ab\x1b\x00cd]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_tab_first_visible_with_sgr

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_overtyping_override_by_control_codes_ignore

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_overtyping_without_ignore

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_strict_indeterminate_raises[\x1b[K-erase_in_line]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_strict_indeterminate_raises[\x1b[2K-erase_in_line_params]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_strict_indeterminate_raises[\x1b[J-erase_in_display]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_strict_indeterminate_raises[\x1b[2J-erase_in_display_params]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_strict_indeterminate_raises[\x1b[H-cursor_home]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_strict_indeterminate_raises[\x1b[1;1H-cursor_address]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_strict_indeterminate_raises[\x1b[A-cursor_up]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_strict_indeterminate_raises[\x1b[2A-cursor_up_params]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_strict_indeterminate_raises[\x1b[B-cursor_down]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_strict_indeterminate_raises[\x1b[5B-cursor_down_params]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_strict_indeterminate_raises[\x1b[P-delete_character]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_strict_indeterminate_raises[\x1b[1P-parm_dch]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_strict_indeterminate_raises[\x1b[M-delete_line]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_strict_indeterminate_raises[\x1b[1M-parm_delete_line]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_strict_indeterminate_raises[\x1b[L-insert_line]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_strict_indeterminate_raises[\x1b[1L-parm_insert_line]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_strict_indeterminate_raises[\x1b[@-insert_character]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_strict_indeterminate_raises[\x1b[1X-erase_chars]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_strict_indeterminate_raises[\x1b[S-scroll_up]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_strict_indeterminate_raises[\x1b[T-scroll_down]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_strict_indeterminate_raises[\x1b[?1049h-enter_fullscreen]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_strict_indeterminate_raises[\x1b[?1049l-exit_fullscreen]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_strict_indeterminate_raises[\x1bD-scroll_forward]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_strict_indeterminate_raises[\x1bM-scroll_reverse]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_strict_indeterminate_raises[\x1b8-restore_cursor]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_strict_indeterminate_raises[\x1bc-full_reset]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_parse_indeterminate_preserved[\x1b[K-erase_in_line]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_parse_indeterminate_preserved[\x1b[2K-erase_in_line_params]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_parse_indeterminate_preserved[\x1b[J-erase_in_display]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_parse_indeterminate_preserved[\x1b[2J-erase_in_display_params]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_parse_indeterminate_preserved[\x1b[H-cursor_home]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_parse_indeterminate_preserved[\x1b[1;1H-cursor_address]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_parse_indeterminate_preserved[\x1b[A-cursor_up]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_parse_indeterminate_preserved[\x1b[2A-cursor_up_params]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_parse_indeterminate_preserved[\x1b[B-cursor_down]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_parse_indeterminate_preserved[\x1b[5B-cursor_down_params]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_parse_indeterminate_preserved[\x1b[P-delete_character]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_parse_indeterminate_preserved[\x1b[1P-parm_dch]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_parse_indeterminate_preserved[\x1b[M-delete_line]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_parse_indeterminate_preserved[\x1b[1M-parm_delete_line]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_parse_indeterminate_preserved[\x1b[L-insert_line]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_parse_indeterminate_preserved[\x1b[1L-parm_insert_line]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_parse_indeterminate_preserved[\x1b[@-insert_character]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_parse_indeterminate_preserved[\x1b[1X-erase_chars]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_parse_indeterminate_preserved[\x1b[S-scroll_up]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_parse_indeterminate_preserved[\x1b[T-scroll_down]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_parse_indeterminate_preserved[\x1b[?1049h-enter_fullscreen]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_parse_indeterminate_preserved[\x1b[?1049l-exit_fullscreen]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_parse_indeterminate_preserved[\x1bD-scroll_forward]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_parse_indeterminate_preserved[\x1bM-scroll_reverse]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_parse_indeterminate_preserved[\x1b8-restore_cursor]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_parse_indeterminate_preserved[\x1bc-full_reset]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_strip_sequences_osc66_stripped[\x1b]66;bad\x07-]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_strip_sequences_osc66_stripped[\x1b]66;w=5;hello\x07-hello]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_strip_sequences_osc66_stripped[before\x1b]66;bad\x07after-beforeafter]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_strip_sequences_osc66_stripped[before\x1b]66;w=5;hello\x07after-beforehelloafter]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_strip_sequences_osc66_no_splice[\x1b\x1b]66;bad\x07[31m-\x1b[31m]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_strip_sequences_osc66_no_splice[\x1b\x1b]66;w=5;hello\x07[31m-\x1bhello[31m]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_strip_sequences_unterminated_csi[a\x1b[-a]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_strip_sequences_unterminated_csi[\x1b[\x1b[31mc-c]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_strip_sequences_unterminated_csi[a\x1b[\x1b[31mb-ab]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_canonicalizes_osc66_without_display_text[\x1b]66;bad\x07text-0-4-\x1b]66;;\x07text]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_canonicalizes_osc66_without_display_text[a\x1b]66;bad\x07b-0-5-a\x1b]66;;\x07b]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_osc66_zero_text_unit[\x1b]66;s=1:w=1;\x1b\\abc-0-5-\x1b]66;w=1;\x1b\\abc]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_osc66_zero_text_unit[\x1b]66;s=1:w=1;XY\x1b\\-0-10-\x1b]66;w=1;XY\x1b\\]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_osc66_zero_text_unit[\x1b]66;s=1:w=1;\x1b\\X-1-2-X]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_osc8_empty_unit_skipped

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_sgr_captured_only_at_visible_content

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_to_end_of_line[-0-]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_to_end_of_line[hello world-0-hello world]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_to_end_of_line[hello world-6-world]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_to_end_of_line[hello-5-]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_to_end_of_line[hello-99-]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_to_end_of_line[hello--5-hello]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_to_end_of_line[\u4e2d\u6587\u5b57-1- \u6587\u5b57]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_to_end_of_line[\u4e2d\u6587\u5b57-2-\u6587\u5b57]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_to_end_of_line[\u4e2d\u6587\u5b57-6-]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_to_end_of_line[cafe\u0301-3-e\u0301]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_to_end_of_line[a\tb-4-    b]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_to_end_of_line[\x1b[1;34mHello world\x1b[0m-6-\x1b[1;34mworld\x1b[0m]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_to_end_of_line[\x1b[31mred\x1b[32mgreen\x1b[0m-4-\x1b[32mreen\x1b[0m]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_to_end_of_line[\x1b]8;;http://example.com\x07Click This link\x1b]8;;\x07-6-\x1b]8;;http://example.com\x07This link\x1b]8;;\x07]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_to_end_of_line[\x1b]66;w=4:s=4;Look\x07-1-   \x1b]66;s=4:w=3;ook\x07]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_to_end_of_line[hello\rworld-2-rld]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_to_end_of_line[hello\x08\x08world-2-lworld]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_to_end_of_line[abc\x1b[5Gde-2-c de]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_default_arguments_whole_line

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_to_end_of_line_matches_unbounded_end[kwargs0]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_to_end_of_line_matches_unbounded_end[kwargs1]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_to_end_of_line_matches_unbounded_end[kwargs2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_to_end_of_line_matches_unbounded_end[kwargs3]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_to_end_of_line_matches_unbounded_end[kwargs4]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_to_end_of_line_matches_unbounded_end[kwargs5]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_to_end_of_line_matches_unbounded_end[kwargs6]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_to_end_of_line_matches_unbounded_end[kwargs7]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_to_end_of_line_matches_unbounded_end[kwargs8]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_to_end_of_line_matches_unbounded_end[kwargs9]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_to_end_of_line_width_invariant[hello world]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_to_end_of_line_width_invariant[\x1b[31mred text\x1b[0m]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_to_end_of_line_width_invariant[a\tbcd]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_to_end_of_line_width_invariant[\x1b]8;;http://example.com\x07Click This link\x1b]8;;\x07]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_negative_end_raises[hello world--2-kwargs0]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_negative_end_raises[hello world--4294967296-kwargs1]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_negative_end_raises[\u4e2d\u6587\u5b57--2-kwargs2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_negative_end_raises[\x1b[31mred\x1b[0m--5-kwargs3]
SKIP: tests/test_clip.py:test_clip_parity_corpus[options0] # SKIP C extension not built; there is nothing to compare against
SKIP: tests/test_clip.py:test_clip_parity_corpus[options1] # SKIP C extension not built; there is nothing to compare against
SKIP: tests/test_clip.py:test_clip_parity_corpus[options2] # SKIP C extension not built; there is nothing to compare against
SKIP: tests/test_clip.py:test_clip_parity_corpus[options3] # SKIP C extension not built; there is nothing to compare against
SKIP: tests/test_clip.py:test_clip_parity_corpus[options4] # SKIP C extension not built; there is nothing to compare against
SKIP: tests/test_clip.py:test_clip_parity_corpus[options5] # SKIP C extension not built; there is nothing to compare against
SKIP: tests/test_clip.py:test_clip_parity_corpus[options6] # SKIP C extension not built; there is nothing to compare against
SKIP: tests/test_clip.py:test_clip_parity_corpus[options7] # SKIP C extension not built; there is nothing to compare against
SKIP: tests/test_clip.py:test_clip_parity_lone_surrogate # SKIP C extension not built; there is nothing to compare against
SKIP: tests/test_clip.py:test_clip_offload_is_actually_used # SKIP C extension not built; there is nothing to compare against
SKIP: tests/test_clip.py:test_clip_ascii_does_not_reach_offload # SKIP C extension not built; there is nothing to compare against
SKIP: tests/test_clip.py:test_clip_parity_fuzz # SKIP C extension not built; there is nothing to compare against
SKIP: tests/test_clip.py:test_clip_parity_unsupported_past_window[\x1b[5C] # SKIP C extension not built; there is nothing to compare against
SKIP: tests/test_clip.py:test_clip_parity_unsupported_past_window[\x1b[7D] # SKIP C extension not built; there is nothing to compare against
SKIP: tests/test_clip.py:test_clip_parity_unsupported_past_window[\x1b[2G] # SKIP C extension not built; there is nothing to compare against
SKIP: tests/test_clip.py:test_clip_parity_unsupported_past_window[\x08\x08\x08] # SKIP C extension not built; there is nothing to compare against
SKIP: tests/test_clip.py:test_clip_parity_unsupported_past_window[\r\r\r] # SKIP C extension not built; there is nothing to compare against
SKIP: tests/test_clip.py:test_clip_parity_unsupported_past_window[\x1b]8;;http://e\x1b\\LNK\x1b]8;;\x1b\\] # SKIP C extension not built; there is nothing to compare against
SKIP: tests/test_clip.py:test_clip_parity_unsupported_past_window[\x1b]66;w=2:A\x1b\\] # SKIP C extension not built; there is nothing to compare against
SKIP: tests/test_clip.py:test_clip_parity_unsupported_past_window[\x1b(\n] # SKIP C extension not built; there is nothing to compare against
SKIP: tests/test_clip.py:test_clip_parity_unsupported_past_window[] # SKIP C extension not built; there is nothing to compare against
SKIP: tests/test_clip.py:test_c_clip_returns_none_for_unsupported[abcdef\x1b[5Cgh] # SKIP C extension not built; there is nothing to compare against
SKIP: tests/test_clip.py:test_c_clip_returns_none_for_unsupported[abcdef\x1b[3Dgh] # SKIP C extension not built; there is nothing to compare against
SKIP: tests/test_clip.py:test_c_clip_returns_none_for_unsupported[abcdef\x1b[2Ggh] # SKIP C extension not built; there is nothing to compare against
SKIP: tests/test_clip.py:test_c_clip_returns_none_for_unsupported[abcdef\x08gh] # SKIP C extension not built; there is nothing to compare against
SKIP: tests/test_clip.py:test_c_clip_returns_none_for_unsupported[abcdef\rgh] # SKIP C extension not built; there is nothing to compare against
SKIP: tests/test_clip.py:test_c_clip_returns_none_for_unsupported[abcdefghijklmnop\x1b[3D] # SKIP C extension not built; there is nothing to compare against
SKIP: tests/test_clip.py:test_c_clip_returns_none_for_unsupported[abcdefghijklmnop\x08] # SKIP C extension not built; there is nothing to compare against
SKIP: tests/test_clip.py:test_c_clip_returns_none_for_unsupported[ab\x1b]8;;http://e\x1b\\LNK\x1b]8;;\x1b\\] # SKIP C extension not built; there is nothing to compare against
SKIP: tests/test_clip.py:test_c_clip_returns_none_for_unsupported[ab\x1b]66;w=2:A\x1b\\] # SKIP C extension not built; there is nothing to compare against
SKIP: tests/test_clip.py:test_c_clip_accepts_supported[abcdef] # SKIP C extension not built; there is nothing to compare against
SKIP: tests/test_clip.py:test_c_clip_accepts_supported[ab\x1b[31mcd\x1b[0m] # SKIP C extension not built; there is nothing to compare against
SKIP: tests/test_clip.py:test_c_clip_accepts_supported[ab\x1b]0;t\x07cd] # SKIP C extension not built; there is nothing to compare against
SKIP: tests/test_clip.py:test_c_clip_accepts_supported[\u4e2d\u6587\u5b57] # SKIP C extension not built; there is nothing to compare against
SKIP: tests/test_clip.py:test_c_clip_declines_every_movement_python_resolves # SKIP C extension not built; there is nothing to compare against

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_paths_agree_corpus[options0]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_paths_agree_corpus[options1]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_paths_agree_corpus[options2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_paths_agree_corpus[options3]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_paths_agree_corpus[options4]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_paths_agree_corpus[options5]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_paths_agree_corpus[options6]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_paths_agree_fuzz

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_fast_path_is_dispatched

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip.py:test_clip_import_error_fallback

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip_cjk_emoji.py:test_partial_and_full_wide_grapheme[\u4e2d]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip_cjk_emoji.py:test_partial_and_full_wide_grapheme[\U0001f642]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip_cjk_emoji.py:test_partial_and_full_wide_grapheme[\U0001f468\u200d\U0001f469\u200d\U0001f467]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip_cjk_emoji.py:test_partial_and_full_wide_grapheme[\U0001f469\u200d\U0001f469\u200d\U0001f467]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip_cjk_emoji.py:test_mixed_cjk_emoji_sequence

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip_overtyping.py:test_clip_cursor_sequences_expected_behaviour[hello\x1b[10Cworld-0-10-kwargs0-hello     ]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip_overtyping.py:test_clip_cursor_sequences_expected_behaviour[hello\x1b[10Cworld-0-5-kwargs1-hello]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip_overtyping.py:test_clip_cursor_sequences_expected_behaviour[hello\x1b[2DXY-0-5-kwargs2-helXY]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip_overtyping.py:test_clip_cursor_sequences_expected_behaviour[abc\x1b[3DXY-0-5-kwargs3-XYc]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip_overtyping.py:test_clip_cursor_sequences_expected_behaviour[\x1b[2Dhi-0-2-kwargs4-hi]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip_overtyping.py:test_clip_cursor_sequences_expected_behaviour[\x1b[5C\x1b[2Dhi-5-7-kwargs5-]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip_overtyping.py:test_clip_cursor_sequences_expected_behaviour[ab\x1b]8;;http://example.com\x07\x1b[2Dcd-0-4-kwargs6-cd\x1b]8;;http://example.com\x07]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip_overtyping.py:test_clip_cursor_sequences_expected_behaviour[\u4e2d\x1b[D\x1b[Da-0-4-kwargs7-a ]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip_overtyping.py:test_clip_cursor_sequences_expected_behaviour[ab\x1b[5Ccd-0-4-kwargs8-ab  ]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip_overtyping.py:test_clip_cursor_sequences_expected_behaviour[abcde\x1b[2Df-0-6-kwargs9-abcfe]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip_overtyping.py:test_clip_cursor_sequences_expected_behaviour[hello\x1b[5Dw-0-5-kwargs10-wello]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip_overtyping.py:test_clip_cursor_sequences_expected_behaviour[ab\x1b[10Ccd-0-4-kwargs11-ab  ]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip_overtyping.py:test_clip_cursor_sequences_expected_behaviour[XY\x1b[Czy-0-4-kwargs12-XY z]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip_overtyping.py:test_clip_cursor_sequences_expected_behaviour[XY\x1b[Czy-0-5-kwargs13-XY zy]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip_overtyping.py:test_clip_cursor_sequences_expected_behaviour[XY\x1b[Czy-1-3-kwargs14-Y ]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip_overtyping.py:test_clip_cursor_sequences_expected_behaviour[XY\x1b[Czy-1-4-kwargs15-Y z]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip_overtyping.py:test_clip_cursor_sequences_expected_behaviour[LOL\x1b[5Clol-0-12-kwargs16-LOL     lol]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip_overtyping.py:test_clip_cursor_sequences_expected_behaviour[LOL\x1b[5Clol-1-11-kwargs17-OL     lol]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip_overtyping.py:test_clip_cursor_sequences_expected_behaviour[LOL\x1b[5Clol-2-11-kwargs18-L     lol]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip_overtyping.py:test_clip_cursor_sequences_expected_behaviour[LOL\x1b[5Clol-3-11-kwargs19-     lol]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip_overtyping.py:test_clip_cursor_sequences_expected_behaviour[LOL\x1b[5Clol-4-11-kwargs20-    lol]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip_overtyping.py:test_clip_cursor_sequences_expected_behaviour[LOL\x1b[5Clol-5-11-kwargs21-   lol]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip_overtyping.py:test_clip_cursor_sequences_expected_behaviour[LOL\x1b[5Clol-6-11-kwargs22-  lol]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip_overtyping.py:test_clip_cursor_sequences_expected_behaviour[LOL\x1b[5Clol-7-11-kwargs23- lol]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip_overtyping.py:test_clip_cursor_sequences_expected_behaviour[LOL\x1b[5Clol-8-11-kwargs24-lol]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip_overtyping.py:test_clip_cursor_sequences_expected_behaviour[LOL\x1b[5Clol-9-11-kwargs25-ol]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip_overtyping.py:test_clip_cursor_sequences_expected_behaviour[\x1b[31mab\x1b[2Dcd-0-4-kwargs26-\x1b[31mcd\x1b[0m]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip_overtyping.py:test_clip_cursor_sequences_expected_behaviour[ab\x1b[2D\tcd-0-4-kwargs27-\tcd]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip_overtyping.py:test_clip_cursor_sequences_expected_behaviour[\x1b[2D\u0301hello-1-4-kwargs28-ell]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip_overtyping.py:test_clip_cursor_sequences_expected_behaviour[ab\x1b[2D\u4e2dd-1-4-kwargs29- d]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip_overtyping.py:test_clip_cursor_sequences_expected_behaviour[hello\x1b[2Dxy-0-3-kwargs30-hel]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip_overtyping.py:test_clip_cursor_sequences_expected_behaviour[\x1b[5Chi-0-7-kwargs31-     hi]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip_overtyping.py:test_clip_cursor_sequences_expected_behaviour[abc\x1b[2D-0-2-kwargs32-ab]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip_overtyping.py:test_clip_cursor_sequences_expected_behaviour[a\x1bb\x1b[2Dc-0-3-kwargs33-c\x1bb]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip_overtyping.py:test_clip_cursor_sequences_expected_behaviour[\x1b[2Da\tb-0-5-kwargs34-a   b]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip_overtyping.py:test_clip_cursor_sequences_expected_behaviour[ab\x1b[2Dcd-0-4-kwargs35-cd]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip_overtyping.py:test_clip_cursor_sequences_expected_behaviour[\x1b]8;;http://example.com\x07ab\x1b[2Dcd-0-4-kwargs36-\x1b]8;;http://example.com\x07cd]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip_overtyping.py:test_clip_cursor_sequences_expected_behaviour[ab\x1b[2D\x1b-0-2-kwargs37-\x1bab]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip_overtyping.py:test_clip_cursor_sequences_expected_behaviour[a\u4e2d\x1b[Db-0-4-kwargs38-a b]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip_overtyping.py:test_clip_cursor_sequences_expected_behaviour[\x1b[2Ca\tb-2-4-kwargs39-a ]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip_overtyping.py:test_clip_cursor_sequences_expected_behaviour[aaa\r\r\rxxx-0-4-kwargs40-xxx]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip_overtyping.py:test_clip_cursor_sequences_expected_behaviour[abc\rXY-0-5-kwargs41-XYc]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip_overtyping.py:test_clip_cursor_sequences_expected_behaviour[hello\rworld-0-5-kwargs42-world]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip_overtyping.py:test_clip_cursor_sequences_expected_behaviour[abc\rde-1-3-kwargs43-ec]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip_overtyping.py:test_clip_cursor_sequences_expected_behaviour[abc\x08de-0-5-kwargs44-abde]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip_overtyping.py:test_clip_cursor_sequences_expected_behaviour[abc\x08\x08XY-0-5-kwargs45-aXY]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip_overtyping.py:test_clip_cursor_sequences_expected_behaviour[ab\x08\x08\x08XY-0-4-kwargs46-XY]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip_overtyping.py:test_clip_cursor_sequences_expected_behaviour[abc\x1b[GXY-0-5-kwargs47-XYc]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip_overtyping.py:test_clip_cursor_sequences_expected_behaviour[abc\x1b[2GXY-0-5-kwargs48-aXY]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip_overtyping.py:test_clip_cursor_sequences_expected_behaviour[abc\x1b[5GXY-0-7-kwargs49-abc XY]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip_overtyping.py:test_clip_cursor_sequences_expected_behaviour[abc\x1b[5GXY-0-5-kwargs50-abc X]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip_overtyping.py:test_clip_cursor_sequences_expected_behaviour[\x1b[5GXY-3-7-kwargs51- XY]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip_overtyping.py:test_clip_cursor_sequences_expected_behaviour[abc\x1b[GXY-1-4-kwargs52-Yc]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip_overtyping.py:test_clip_cursor_sequences_expected_behaviour[\x1b[5C\x1b]8;;http://example.com\x07-0-5-kwargs53-     \x1b]8;;http://example.com\x07]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip_overtyping.py:test_clip_cursor_sequences_expected_behaviour[\x1b[5C\x1b]8;;http://example.com\x07-0-3-kwargs54-   \x1b]8;;http://example.com\x07]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip_overtyping.py:test_clip_cursor_sequences_expected_behaviour[\x1b[D\x1b\x1bXy-0-3-kwargs55-\x1b\x1bXy]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip_overtyping.py:test_clip_cursor_sequences_expected_behaviour[a\x1b[C\x1b]8;;http://x\x07hi\x1b]8;;\x07-0-5-kwargs56-a \x1b]8;;http://x\x07hi\x1b]8;;\x07]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip_overtyping.py:test_clip_cursor_sequences_expected_behaviour[\x1b[D\tab-0-2-kwargs57-\tab]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip_overtyping.py:test_clip_cursor_sequences_expected_behaviour[\x1b[D\u0301x-0-3-kwargs58-\u0301x]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip_overtyping.py:test_clip_cursor_sequences_expected_behaviour[\x1b[D\x1b[Hxy-0-3-kwargs59-\x1b[Hxy]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip_overtyping.py:test_clip_cursor_left_strict_out_of_bounds

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip_overtyping.py:test_clip_cursor_left_strict_out_of_bounds_painter

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip_overtyping.py:test_clip_cursor_left_out_of_bounds_parse_no_raise

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip_overtyping.py:test_clip_strict_cr_allowed

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip_overtyping.py:test_clip_strict_hpa_allowed

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip_overtyping.py:test_clip_strict_cursor_left_allowed

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip_overtyping.py:test_clip_strict_indeterminate_sequence_painter

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip_overtyping.py:test_clip_cursor_sequences_to_end_of_line[hello\rworld-0-kwargs0-world]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip_overtyping.py:test_clip_cursor_sequences_to_end_of_line[hello\rworld-2-kwargs1-rld]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip_overtyping.py:test_clip_cursor_sequences_to_end_of_line[hello\x08\x08world-2-kwargs2-lworld]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip_overtyping.py:test_clip_cursor_sequences_to_end_of_line[hello\x1b[2Dxy-0-kwargs3-helxy]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip_overtyping.py:test_clip_cursor_sequences_to_end_of_line[ab\x1b[99Dcd-0-kwargs4-cd]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip_overtyping.py:test_clip_cursor_sequences_to_end_of_line[plain text-3-kwargs5-in text]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip_overtyping.py:test_clip_cursor_sequences_to_end_of_line[abc\x1b[5Gde-2-kwargs6-c de]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip_overtyping.py:test_clip_cursor_sequences_to_end_of_line[\x1b[31mhello\rworld\x1b[0m-2-kwargs7-\x1b[31mrld\x1b[0m]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip_overtyping.py:test_clip_cursor_left_strict_out_of_bounds_to_end_of_line

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip_overtyping.py:test_clip_hyperlink_inner_text_clipped_away[\x1b]8;;http://x\x07\x1b[5Ga\x1b]8;;\x07-0-4-\x1b]8;;http://x\x07\x1b]8;;\x07]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip_overtyping.py:test_clip_hyperlink_inner_text_clipped_away[\x1b]8;;http://x\x07\x1b[5Ga\x1b]8;;\x07-0-6-\x1b]8;;http://x\x07    a\x1b]8;;\x07]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip_overtyping.py:test_clip_hyperlink_inner_text_clipped_away[j\x1b]8;;http://x\x07\x1b[5Ga\x1b]8;;\x07i\x1b[5G\u5b57-0-4-j\x1b]8;;http://x\x07\x1b]8;;\x07]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip_overtyping.py:test_clip_hyperlink_inner_text_clipped_away[j\x1b]8;;http://x\x07\x1b[5Ga\x1b]8;;\x07i\x1b[5G\u5b57-0-6-j\x1b]8;;http://x\x07    a\x1b]8;;\x07]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip_overtyping.py:test_clip_hyperlink_clipped_away_keeps_underlying_cell

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip_overtyping.py:test_clip_movement_past_window[True-abcdef\x1b[6DZZZ-0-3-ZZZ]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip_overtyping.py:test_clip_movement_past_window[True-abcdefxxxxxxxxxxxxxxxxxxxx\x1b[30DZZZ-0-3-ZZZ]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip_overtyping.py:test_clip_movement_past_window[True-abcdefxxxxxxxxxxxxxxxxxxxx\x1b[1GZ-0-3-Zbc]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip_overtyping.py:test_clip_movement_past_window[True-abcdefxxxxxxxxxxxxxxxxxxxx\rZ-0-3-Zbc]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip_overtyping.py:test_clip_movement_past_window[False-abcdef\x1b[6DZZZ-0-3-ZZZ]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip_overtyping.py:test_clip_movement_past_window[False-abcdefxxxxxxxxxxxxxxxxxxxx\x1b[30DZZZ-0-3-ZZZ]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip_overtyping.py:test_clip_movement_past_window[False-abcdefxxxxxxxxxxxxxxxxxxxx\x1b[1GZ-0-3-Zbc]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip_overtyping.py:test_clip_movement_past_window[False-abcdefxxxxxxxxxxxxxxxxxxxx\rZ-0-3-Zbc]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip_overtyping.py:test_clip_sequences_after_tab_past_window[True-ab\t\x1b]0;t\x07\x1b[2D-0-2-ab\x1b]0;t\x07]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip_overtyping.py:test_clip_sequences_after_tab_past_window[True-ab\t\x1b[2J\x1b[2D-0-2-ab\x1b[2J]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip_overtyping.py:test_clip_sequences_after_tab_past_window[False-ab\t\x1b]0;t\x07\x1b[2D-0-2-ab\x1b]0;t\x07]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip_overtyping.py:test_clip_sequences_after_tab_past_window[False-ab\t\x1b[2J\x1b[2D-0-2-ab\x1b[2J]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip_overtyping.py:test_clip_tab_expands_to_spaces_not_fillchar[ ]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip_overtyping.py:test_clip_tab_expands_to_spaces_not_fillchar[?]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip_overtyping.py:test_clip_tab_expands_to_spaces_not_fillchar[.]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip_overtyping.py:test_clip_zero_width_text_sizing_survives_following_cell[True]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip_overtyping.py:test_clip_zero_width_text_sizing_survives_following_cell[False]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip_overtyping.py:test_clip_sequence_past_window_without_captured_sgr[ab\x1b[1Dcdefgh\x1b[31m-0-2-ac\x1b[31m]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip_overtyping.py:test_clip_sequence_past_window_without_captured_sgr[ab\rcdefgh\x1b[31mZ-0-2-cd\x1b[31m]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_clip_overtyping.py:test_clip_sequence_past_window_without_captured_sgr[abcdefgh\x1b[31m-0-2-ab\x1b[31m]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_core.py:test_package_version

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_core.py:test_cmake_and_setuptools_source_lists_parity

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_core.py:test_version_matches_pyproject

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_core.py:test_version_matches_libwcwidth

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_core.py:test_empty_string

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_core.py:test_hello_jp

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_core.py:test_wcswidth_substr

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_core.py:test_null_width_0

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_core.py:test_control_c0_width_negative_1

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_core.py:test_combining_width

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_core.py:test_combining_cafe

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_core.py:test_combining_enclosing

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_core.py:test_balinese_script

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_core.py:test_kr_jamo

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_core.py:test_kr_jamo_filler

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_core.py:test_devanagari_script

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_core.py:test_tamil_script

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_core.py:test_kannada_script

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_core.py:test_kannada_script_2

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_core.py:test_bengali_nukta_mc

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_core.py:test_mc_width_consistency[1]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_core.py:test_mc_width_consistency[20]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_core.py:test_virama_conjunct[\u0999\u09cd\u0997\u09c7-2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_core.py:test_virama_conjunct[\u0915\u094d\u0924\u093f-2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_core.py:test_virama_conjunct[\u0915\u094d\u0930\u093f-2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_core.py:test_virama_conjunct[\u0a95\u0acd\u0a95\u0acb-2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_core.py:test_virama_conjunct[\u0938\u094d\u0924\u094d\u0930-2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_core.py:test_virama_conjunct[\u0938\u094d\u0924-2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_core.py:test_virama_conjunct[\u0915\u094d -2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_core.py:test_virama_conjunct[\u09a4\u09cd\u200d\u09aa-2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_core.py:test_virama_conjunct[\u0915\u094d\u200d\u0924-2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_core.py:test_virama_conjunct[\u0d15\u0d4d\u0d15\u0d41\u0d02-2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_core.py:test_virama_conjunct[\u0915\u094d\u0924\u0941\u0902-2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_core.py:test_virama_conjunct_mc_vowel[\u0995\u09cd\u09a4\u09bf-2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_core.py:test_virama_conjunct_mc_vowel[\u0915\u094d\u0924\u093f-2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_core.py:test_virama_conjunct_mc_vowel[\u0995\u09cd\u09a4-2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_core.py:test_virama_conjunct_mc_vowel[\u0995\u09bf-2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_core.py:test_virama_mc_category_overlap[\ua9a0\ua9c0\ua9b1\ua9c0\ua9ae-2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_core.py:test_virama_mc_category_overlap[\ua9a0\ua9c0\ua9b1-2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_core.py:test_virama_mc_category_overlap[\u1b04\u1b44\u1b05-2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_core.py:test_virama_mc_category_overlap[\U000111c0\U000111c0-0]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_core.py:test_virama_conjunct_invisible_stacker[\u1000\u1039\u1000-2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_core.py:test_virama_conjunct_invisible_stacker[\u1000\u1039\u1000\u1039\u1002-2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_core.py:test_virama_conjunct_invisible_stacker[\u1000\u1039\u200d\u1000-2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_core.py:test_virama_conjunct_invisible_stacker[\u1782\u17d2\u1782\u17c1-2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_core.py:test_virama_conjunct_invisible_stacker[\u1780\u17d2\u1780-2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_core.py:test_zwj_at_end_of_string

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_core.py:test_wcswidth_n_exceeds_length

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_core.py:test_soft_hyphen

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_core.py:test_prepended_concatenation_mark_width[1536-ARABIC NUMBER SIGN]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_core.py:test_prepended_concatenation_mark_width[1537-ARABIC SIGN SANAH]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_core.py:test_prepended_concatenation_mark_width[1538-ARABIC FOOTNOTE MARKER]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_core.py:test_prepended_concatenation_mark_width[1539-ARABIC SIGN SAFHA]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_core.py:test_prepended_concatenation_mark_width[1540-ARABIC SIGN SAMVAT]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_core.py:test_prepended_concatenation_mark_width[1541-ARABIC NUMBER MARK ABOVE]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_core.py:test_prepended_concatenation_mark_width[1757-ARABIC END OF AYAH]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_core.py:test_prepended_concatenation_mark_width[1807-SYRIAC ABBREVIATION MARK]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_core.py:test_prepended_concatenation_mark_width[2192-ARABIC POUND MARK ABOVE]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_core.py:test_prepended_concatenation_mark_width[2193-ARABIC PIASTRE MARK ABOVE]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_core.py:test_prepended_concatenation_mark_width[2274-ARABIC DISPUTED END OF AYAH]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_core.py:test_prepended_concatenation_mark_width[69821-KAITHI NUMBER SIGN]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_core.py:test_prepended_concatenation_mark_width[69837-KAITHI NUMBER SIGN ABOVE]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_core.py:test_legacy_module

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_core.py:test_wcstwidth_positional_args[abc-2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_core.py:test_wcstwidth_positional_args[abc-1]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_core.py:test_wcstwidth_positional_args[abc-0]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_core.py:test_wcstwidth_positional_args[abc-None]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_core.py:test_wcstwidth_positional_args[-0]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_core.py:test_wcstwidth_positional_args[-None]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_core.py:test_wcstwidth_positional_args[\U0001f600-1]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_core.py:test_wcstwidth_positional_args[\U0001f600\U0001f600-2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_core.py:test_align_control_codes_strict_rejects_illegal_control[ljust]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_core.py:test_align_control_codes_strict_rejects_illegal_control[rjust]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_core.py:test_align_control_codes_strict_rejects_illegal_control[center]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_core.py:test_width_large_cursor_movement_saturates

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_core.py:test_wrap_tabsize_zero_passes_through

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_core.py:test_wrap_lone_surrogate_escaped_bytes[\udcbf]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_core.py:test_wrap_lone_surrogate_escaped_bytes[\udc80]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_core.py:test_wrap_lone_surrogate_escaped_bytes[\udcbf\udcbf\udcbf]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_core.py:test_python_functions_stay_python

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_core.py:test_python_env_var

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_core.py:test_import_error_fallback
SKIP: tests/test_core.py:test_c_extension_parity # SKIP C extension not built; there is nothing to compare against

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_emojis.py:test_unfinished_zwj_sequence

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_emojis.py:test_non_recommended_zwj_sequence

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_emojis.py:test_another_emoji_zwj_sequence

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_emojis.py:test_longer_emoji_zwj_sequence
SKIP: tests/test_emojis.py:test_recommended_emoji_zwj_sequences # SKIP emoji-zwj-sequences.txt; missing run bin/update-tables.py
SKIP: tests/test_emojis.py:test_recommended_variation_16_sequences # SKIP emoji-variation-sequences.txt is missing; run bin/update-tables.py

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_emojis.py:test_regional_indicator_single

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_emojis.py:test_regional_indicator_pair

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_emojis.py:test_regional_indicator_three

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_emojis.py:test_regional_indicator_four

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_emojis.py:test_zwj_after_non_emoji

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_emojis.py:test_fitzpatrick_standalone

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_emojis.py:test_fitzpatrick_after_emoji

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_emojis.py:test_vs16_effect

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_core_grapheme[-expected0]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_core_grapheme[a-expected1]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_core_grapheme[abc-expected2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_core_grapheme[cafe\u0301-expected3]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_core_grapheme[\xad\u0301-expected4]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_core_grapheme[\xad\u200d-expected5]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_core_grapheme[\r\n-expected6]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_core_grapheme[ok\r\nok-expected7]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_core_grapheme[\r-expected8]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_core_grapheme[ok\rok-expected9]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_core_grapheme[\n-expected10]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_core_grapheme[ok\nok-expected11]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_core_grapheme[\r\r-expected12]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_core_grapheme[ok\r\rok-expected13]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_iter_graphemes_slice[abcdef-2-None-expected0]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_iter_graphemes_slice[abcdef-0-4-expected1]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_iter_graphemes_slice[abcdef-1-4-expected2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_iter_graphemes_slice[abc-10-None-expected3]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_iter_graphemes_slice[abc-0-10-expected4]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_iter_graphemes_slice[abcdef--3-None-expected5]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_iter_graphemes_slice[-\u094d\u0300\u0915\xa4-2-5-expected6]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_iter_graphemes_slice[input_str7-100-200-expected7]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_wide_unicode_graphemes[\u1100\u1161-expected0]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_wide_unicode_graphemes[ok\u1100\u1161ok-expected1]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_wide_unicode_graphemes[\uac00\u11a8-expected2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_wide_unicode_graphemes[ok\uac00\u11a8ok-expected3]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_wide_unicode_graphemes[\U0001f1fa\U0001f1f8-expected4]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_wide_unicode_graphemes[ok\U0001f1fa\U0001f1f8ok-expected5]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_wide_unicode_graphemes[\U0001f1fa\U0001f1f8\U0001f1e6-expected6]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_wide_unicode_graphemes[ok\U0001f1fa\U0001f1f8\U0001f1e6ok-expected7]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_wide_unicode_graphemes[\U0001f1fa\U0001f1f8\U0001f1e6\U0001f1fa-expected8]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_wide_unicode_graphemes[ok\U0001f1fa\U0001f1f8\U0001f1e6\U0001f1faok-expected9]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_wide_unicode_graphemes[\n\U0001f1fa\U0001f1f8-expected10]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_wide_unicode_graphemes[\t\U0001f1fa\U0001f1f8-expected11]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_wide_unicode_graphemes[\r\U0001f1fa\U0001f1f8-expected12]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_wide_unicode_graphemes[\x00\U0001f1fa\U0001f1f8-expected13]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_wide_unicode_graphemes[\x1b\U0001f1fa\U0001f1f8-expected14]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_wide_unicode_graphemes[\n\U0001f1fa\U0001f1f8\U0001f1e6\U0001f1fa-expected15]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_wide_unicode_graphemes[\u0600\U0001f1fa\U0001f1f8-expected16]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_wide_unicode_graphemes[\u0600\U0001f1fa\U0001f1f8\U0001f1e6\U0001f1fa-expected17]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_wide_unicode_graphemes[\U0001f468\u200d\U0001f469\u200d\U0001f467-expected18]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_wide_unicode_graphemes[ok\U0001f468\u200d\U0001f469\u200d\U0001f467ok-expected19]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_wide_unicode_graphemes[\U0001f44b\U0001f3fb-expected20]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_wide_unicode_graphemes[ok\U0001f44b\U0001f3fbok-expected21]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_wide_unicode_graphemes[\u2764\ufe0f-expected22]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_wide_unicode_graphemes[ok\u2764\ufe0fok-expected23]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_precomposed_hangul_graphemes[\uac01-expected0]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_precomposed_hangul_graphemes[ok\uac01ok-expected1]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_precomposed_hangul_graphemes[\uac01\u11a8-expected2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_precomposed_hangul_graphemes[\uac01\u11a8\u11a8-expected3]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_precomposed_hangul_graphemes[\uac01\n-expected4]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_gb11_emoji_zwj_lookback[\U0001f600\u200d\U0001f600-expected0]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_gb11_emoji_zwj_lookback[\U0001f600\u0301\u200d\U0001f600-expected1]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_gb11_emoji_zwj_lookback[\U0001f600\u0301\u0300\u200d\U0001f600-expected2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_gb11_emoji_zwj_lookback[a\u200d\U0001f600-expected3]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_gb11_emoji_zwj_lookback[ok\u200d\U0001f600ok-expected4]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_gb11_emoji_zwj_lookback[\u200d\U0001f600-expected5]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_gb11_emoji_zwj_lookback[\u0301\u200d\U0001f600-expected6]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_indic_conjunct_graphemes[\u094d\u0915-expected0]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_indic_conjunct_graphemes[\u094d\u0300\u0915-expected1]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_indic_conjunct_graphemes[ok\u094d\u0300\u0915ok-expected2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_indic_conjunct_graphemes[\u1cf5\u0915-expected3]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_indic_conjunct_graphemes[ok\u1cf5\u0915ok-expected4]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_indic_conjunct_graphemes[a\u094d\u0924-expected5]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_indic_conjunct_graphemes[\u1b05\u1b44\u1b33-expected6]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_indic_conjunct_graphemes[ok\u1b05\u1b44\u1b33ok-expected7]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_indic_conjunct_graphemes[\U00011a3a\U00011a0b-expected8]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_indic_conjunct_graphemes[ok\U00011a3a\U00011a0bok-expected9]
SKIP: tests/test_grapheme.py:test_grapheme_break_test_fixture_version # SKIP GraphemeBreakTest.txt is missing; run bin/update-tables.py
SKIP: tests/test_grapheme.py:test_unicode_grapheme_break_test[NOTSET] # SKIP GraphemeBreakTest.txt is missing; run bin/update-tables.py

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_grapheme_boundary_before_basic[abc-3-2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_grapheme_boundary_before_basic[abc-2-1]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_grapheme_boundary_before_basic[abc-1-0]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_grapheme_boundary_before_basic[a\r\nb-3-1]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_grapheme_boundary_before_basic[cafe\u0301-5-3]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_grapheme_boundary_before_basic[cafe\u0301-4-3]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_grapheme_boundary_before_basic[ae\u0301\u0300b-4-1]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_grapheme_boundary_before_basic[\u0600a-2-0]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_grapheme_boundary_before_basic[\u0600\n-2-1]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_grapheme_boundary_before_basic[X\x85\u0301-3-2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_grapheme_boundary_before_basic[a\n\u0301-3-2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_grapheme_boundary_before_basic[a\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301-51-0]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_grapheme_boundary_before_basic[aba\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301-53-2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_grapheme_boundary_before_unicode[Hi \U0001f44b\U0001f3fb!-6-5]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_grapheme_boundary_before_unicode[Hi \U0001f44b\U0001f3fb!-5-3]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_grapheme_boundary_before_unicode[Hi \U0001f44b\U0001f3fb!-3-2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_grapheme_boundary_before_unicode[a\U0001f1fa\U0001f1f8b-4-3]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_grapheme_boundary_before_unicode[a\U0001f1fa\U0001f1f8b-3-1]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_grapheme_boundary_before_unicode[\U0001f1fa\U0001f1f8\U0001f1e6-3-2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_grapheme_boundary_before_unicode[\U0001f1fa\U0001f1f8\U0001f1e6-2-0]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_grapheme_boundary_before_unicode[a\U0001f468\u200d\U0001f469\u200d\U0001f467b-7-6]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_grapheme_boundary_before_unicode[a\U0001f468\u200d\U0001f469\u200d\U0001f467b-6-1]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_iter_graphemes_reverse_basic[-expected0]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_iter_graphemes_reverse_basic[abc-expected1]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_iter_graphemes_reverse_basic[cafe\u0301\r\nok-expected2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_iter_graphemes_reverse_basic[a\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301-expected3]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_iter_graphemes_reverse_unicode[cafe\u0301 \U0001f44b\U0001f3fb \U0001f1fa\U0001f1f8!-expected0]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_iter_graphemes_reverse_unicode[\U0001f468\u200d\U0001f469\u200d\U0001f467\U0001f468\u200d\U0001f469\u200d\U0001f467-expected1]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_iter_graphemes_reverse_unicode[Hi\U0001f1fa\U0001f1f8\U0001f1e6!-expected2]
SKIP: tests/test_grapheme.py:test_grapheme_roundtrip_consistency[NOTSET] # SKIP GraphemeBreakTest.txt is missing; run bin/update-tables.py

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_grapheme_boundary_before_edge_cases[abc-0-0]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_grapheme_boundary_before_edge_cases[abc-100-2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_grapheme_boundary_before_edge_cases[-0-0]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_grapheme_boundary_before_edge_cases[-1-0]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_grapheme_boundary_before_edge_cases[\xad\u0301-2-1]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_iter_graphemes_reverse_edge_cases[abcdef-2-5-expected0]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_iter_graphemes_reverse_edge_cases[abc-0-100-expected1]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_iter_graphemes_reverse_edge_cases[abc-5-None-expected2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_iter_graphemes_reverse_edge_cases[abc-2-2-expected3]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_iter_graphemes_reverse_edge_cases[\u0600a-1-None-expected4]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_iter_graphemes_reverse_edge_cases[\u0600a-0-None-expected5]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_iter_graphemes_reverse_edge_cases[abc--5-None-expected6]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_iter_graphemes_reverse_edge_cases[\xad\u0301-0-None-expected7]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_iter_graphemes_reverse_edge_cases[a\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301\u0301-0-None-expected8]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_iter_graphemes_reverse_non_str

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_iter_graphemes_window_extension[input_str0-0-expected0]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_grapheme.py:test_iter_graphemes_window_extension[input_str1-2-expected1]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_hyperlink.py:test_hyperlinkparams_parse_valid[\x1b]8;;http://example.com\x07-http://example.com--\x07]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_hyperlink.py:test_hyperlinkparams_parse_valid[\x1b]8;id=a;http://example.com\x1b\\-http://example.com-id=a-\x1b\\]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_hyperlink.py:test_hyperlinkparams_parse_invalid[not an escape]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_hyperlink.py:test_hyperlinkparams_parse_invalid[\x1b[31m]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_hyperlink.py:test_hyperlinkparams_parse_invalid[]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_hyperlink.py:test_hyperlinkparams_parse_invalid[\x1b]8;;https://example.com\x07text]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_hyperlink.py:test_hyperlinkparams_parse_invalid[\x1b]8;;https://example.com\x07\n]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_hyperlink.py:test_hyperlinkparams_parse_invalid[\x1b]8;;https://example.com\x07\x1b[31m]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_hyperlink.py:test_hyperlinkparams_parse_invalid[\x1b]8;;https://example.com\x1b\\text]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_hyperlink.py:test_hyperlinkparams_parse_invalid[\x1b]8;;https://example.com\x1b\\\n]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_hyperlink.py:test_hyperlinkparams_parse_invalid[\x1b]8;;https://example.com\x1b\\\x1b[31m]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_hyperlink.py:test_hyperlinkparams_make_open

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_hyperlink.py:test_hyperlinkparams_make_close

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_hyperlink.py:test_hyperlink_parse_valid

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_hyperlink.py:test_hyperlink_parse_returns_none[Hello world-0]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_hyperlink.py:test_hyperlink_parse_returns_none[\x1b[31mHello\x1b[0m-0]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_hyperlink.py:test_hyperlink_parse_returns_none[\x1b]8;;http://example.com\x07Hello-0]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_hyperlink.py:test_hyperlink_find_close_not_found

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_hyperlink.py:test_hyperlink_make_sequence

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_hyperlink.py:test_hyperlink_display_width

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_justify.py:test_ljust

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_justify.py:test_rjust

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_justify.py:test_center

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_sgr_state.py:test_wrap_propagates_sgr

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_sgr_state.py:test_wrap_reset_and_no_sgr

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_sgr_state.py:test_wrap_propagate_sgr_disabled

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_sgr_state.py:test_wrap_preserves_non_sgr_sequences

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_sgr_state.py:test_clip_propagates_sgr

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_sgr_state.py:test_clip_no_active_style_and_plain

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_sgr_state.py:test_clip_propagate_sgr_disabled

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_sgr_state.py:test_clip_preserves_non_sgr_sequences

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_sgr_state.py:test_clip_sgr_only_no_visible_content

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_sgr_state.py:test_sgr_state_parse_boolean_attributes_on

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_sgr_state.py:test_sgr_state_parse_boolean_attributes_off

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_sgr_state.py:test_sgr_state_parse_colors

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_sgr_state.py:test_sgr_state_parse_colors_colon_format

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_sgr_state.py:test_propagate_sgr_colon_format_color_is_restored

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_sgr_state.py:test_sgr_state_color_override

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_sgr_state.py:test_sgr_state_parse_default_colors

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_sgr_state.py:test_sgr_state_parse_compound_and_reset

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_sgr_state.py:test_sgr_state_to_sequence

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_sgr_state.py:test_sgr_state_to_sequence_all_attributes

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_sgr_state.py:test_sgr_state_is_active

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_sgr_state.py:test_propagate_sgr

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_sgr_state.py:test_propagate_sgr_empty_lines

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_sgr_state.py:test_sgr_malformed_sequences

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_sgr_state.py:test_parse_sgr_params_invalid

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_sgr_state.py:test_extended_color_mixed_format_edge_cases

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_sgr_state.py:test_propagate_sgr_preserves_embedded_nul[lines0-expected0]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_sgr_state.py:test_propagate_sgr_preserves_embedded_nul[lines1-expected1]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_sgr_state.py:test_propagate_sgr_preserves_embedded_nul[lines2-expected2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_resolve_terminal_aliases

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_resolve_terminal_unknown

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_resolve_terminal_auto_detect

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_wcswidth_no_override

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_wcswidth_vte_override[\u2630-2-1]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_wcswidth_vte_override[\U0001f1e6-2-1]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_width_vte_override[\u2630-kwargs0-1]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_width_vte_override[\u2630-kwargs1-2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_width_vte_override[\x1b[31m\u2630\u2631\x1b[0m-kwargs2-2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_width_vte_override[\u2630\u2631-kwargs3-2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_vs16_override_basic

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_vs16_libvterm_no_override

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_wcwidth_unchanged

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_wcstwidth_term_program

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_wcswidth_ascii_unchanged

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_vs15_standalone

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_vs15_no_override

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_vs15_wider_override_unchanged

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_vs15_repeated_ignored

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_vs16_repeated_ignored

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_vs15_vs16_do_not_stack

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_grapheme_override_zwj_not_in_table

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_width_vs16_zwj_transition

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_width_vs15_override

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_grapheme_override_wcswidth_family[False-2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_grapheme_override_wcswidth_family[-2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_grapheme_override_wcswidth_family[nonexistent-2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_grapheme_override_wcswidth_family[alacritty-4]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_grapheme_override_multi_zwj_alacritty

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_grapheme_override_width_alacritty[width-kwargs0]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_grapheme_override_width_alacritty[width-kwargs1]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_grapheme_override_ascii_unchanged

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_grapheme_override_zwj_at_end

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_grapheme_override_fitzpatrick

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_list_term_programs

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_grapheme_override_invalid_term_names

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_grapheme_override_zwj_no_extpict_base

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_grapheme_override_scanner_edges[\U0001f468\u200d\U0001f466x-alacritty-5]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_grapheme_override_scanner_edges[\U0001f468\u200da-alacritty-2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_grapheme_override_scanner_edges[\U0001f468\u200da-False-2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_grapheme_override_missing_module

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_no_terminal_has_vs15_narrower_overrides

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_list_term_programs_includes_xterm

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_resolve_terminal_xterm_explicit

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_resolve_terminal_xterm_auto_detected[TERM]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_resolve_terminal_xterm_auto_detected[TERM_PROGRAM]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_xterm_overrides_applied[wcstwidth-\U0001f1e6-2-1]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_xterm_overrides_applied[width-\U0001f1e6-2-1]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_xterm_overrides_applied[wcstwidth-\u231a\ufe0e-1-2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_xterm_overrides_applied[width-\u231a\ufe0e-1-2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_regional_indicator_pair_term_program[xterm-2-wcstwidth]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_regional_indicator_pair_term_program[xterm-2-width]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_regional_indicator_pair_term_program[vte-2-wcstwidth]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_regional_indicator_pair_term_program[vte-2-width]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_regional_indicator_pair_term_program[wezterm-2-wcstwidth]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_regional_indicator_pair_term_program[wezterm-2-width]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_regional_indicator_pair_term_program[kitty-2-wcstwidth]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_regional_indicator_pair_term_program[kitty-2-width]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_regional_indicator_pair_term_program[bobcat-4-wcstwidth]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_regional_indicator_pair_term_program[bobcat-4-width]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_regional_indicator_runs_narrowed_terminal[\U0001f1e6-1-wcstwidth]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_regional_indicator_runs_narrowed_terminal[\U0001f1e6-1-width]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_regional_indicator_runs_narrowed_terminal[\U0001f1e6\U0001f1e7-2-wcstwidth]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_regional_indicator_runs_narrowed_terminal[\U0001f1e6\U0001f1e7-2-width]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_regional_indicator_runs_narrowed_terminal[a\U0001f1fa\U0001f1f8-3-wcstwidth]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_regional_indicator_runs_narrowed_terminal[a\U0001f1fa\U0001f1f8-3-width]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_regional_indicator_runs_narrowed_terminal[\U0001f1e6\U0001f1e7\U0001f1e8-3-wcstwidth]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_regional_indicator_runs_narrowed_terminal[\U0001f1e6\U0001f1e7\U0001f1e8-3-width]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_regional_indicator_runs_narrowed_terminal[\U0001f1e6\U0001f1e7\U0001f1e8\U0001f1e9-4-wcstwidth]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_regional_indicator_runs_narrowed_terminal[\U0001f1e6\U0001f1e7\U0001f1e8\U0001f1e9-4-width]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_zwj_fallthrough_resets_base_for_vs16[wcswidth]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_zwj_fallthrough_resets_base_for_vs16[width]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_zwj_fallthrough_resets_base_for_vs15[wcswidth]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_zwj_fallthrough_resets_base_for_vs15[width]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_align_term_program_vte[ljust-\u2630-4-\u2630   ]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_align_term_program_vte[rjust-\u2630-4-   \u2630]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_align_term_program_vte[center-\u2630-5-  \u2630  ]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_align_term_program_alacritty_zwj

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_clip_term_program_vte

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_wrap_term_program_vte

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_resolve_terminal_from_env[termenv0-kitty]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_resolve_terminal_from_env[termenv1-kitty]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_merge_ranges[args0-expected0]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_merge_ranges[args1-expected1]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_merge_ranges[args2-expected2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_merge_ranges[args3-expected3]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_sfz_override_foot

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_sfz_zeroer[kitty-0]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_sfz_zeroer[bobcat-0]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_sfz_zeroer[False-2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_width_zeroer[kwargs0-0]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_width_zeroer[kwargs1-0]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_empty_overrides_includes_zeroer

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_get_term_overrides_returns_empty_when_no_overrides

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_get_term_overrides_reads_narrow_zeroer_key

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_get_term_overrides_narrow_wider_still_empty

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_narrow_wider_width[wcstwidth]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_narrow_wider_width[width]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_narrow_zeroer_cf_codepoints[\xad]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_narrow_zeroer_cf_codepoints[\u0600]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_narrow_zeroer_cf_codepoints[\u0605]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_narrow_zeroer_cf_codepoints[\u06dd]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_narrow_zeroer_cf_codepoints[\u070f]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_narrow_zeroer_cf_codepoints[\u0890]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_narrow_zeroer_cf_codepoints[\u0891]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_narrow_zeroer_cf_codepoints[\u08e2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_narrow_zeroer_cf_codepoints[\U000110bd]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_narrow_zeroer_cf_codepoints[\U000110cd]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_narrow_zeroer_not_applied_for_other_terminals[wcstwidth]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_narrow_zeroer_not_applied_for_other_terminals[width]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_narrow_zeroer_width[wcstwidth-kitty-0]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_narrow_zeroer_width[width-kitty-0]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_narrow_zeroer_width[wcstwidth-konsole-0]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_narrow_zeroer_width[width-konsole-0]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_narrow_zeroer_width[wcstwidth-wezterm-0]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_narrow_zeroer_width[width-wezterm-0]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_resolve_terminal_strips_whitespace[  KITTY  -kitty]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_resolve_terminal_strips_whitespace[   -None]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_wcswidth_language_grapheme[\u1000\u1031-False-2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_wcswidth_language_grapheme[\u1000\u1031--2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_wcswidth_language_grapheme[\u1000\u1031-kitty-1]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_wcswidth_language_grapheme[\u1000\u1031-foot-1]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_wcswidth_language_grapheme[\u1000\u1031-alacritty-2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_wcswidth_language_grapheme[\u0c05\u0c02-False-2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_wcswidth_language_grapheme[\u0c05\u0c02-kitty-1]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_wcswidth_language_grapheme[\u0e01\u0e33-False-2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_wcswidth_language_grapheme[\u0e01\u0e33-kitty-1]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_wcswidth_language_grapheme[\u0985\u0982-False-2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_wcswidth_language_grapheme[\u0985\u0982-kitty-1]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_wcswidth_language_grapheme[\u0915\u093e-False-2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_wcswidth_language_grapheme[\u0915\u093e-kitty-1]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_wcswidth_language_grapheme[\u0915\u093e-foot-1]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_wcswidth_language_grapheme[\u0915\u093e-alacritty-2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_wcswidth_language_grapheme[\u0918\u094d\u0902\u0924-kitty-1]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_wcswidth_language_grapheme[\u0918\u094d\u0902\u0924-terminology-4]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_width_language_grapheme[\u1000\u1031-kitty-1]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_width_language_grapheme[\u1000\u1031-foot-1]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_width_language_grapheme[\u0915\u093e-kitty-1]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_width_language_grapheme[\u0915\u093e-foot-1]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_width_language_grapheme[\u0c05\u0c02-kitty-1]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_width_language_grapheme[\u0918\u094d\u0902\u0924-kitty-1]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_width_language_grapheme[\u0918\u094d\u0902\u0924-terminology-4]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_wcswidth_mixed_language_ascii[hello-kitty-5]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_wcswidth_mixed_language_ascii[hello-foot-5]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_wcswidth_mixed_language_ascii[hello\u1000\u1031-kitty-6]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_wcswidth_mixed_language_ascii[\u1000\u1031hello-kitty-6]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_wcswidth_mixed_language_ascii[\u1000\u1031\u1000\u1031-kitty-2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_wcswidth_mixed_language_ascii[\u1000\u1031x\u0915\u093e-kitty-3]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_wcswidth_virama_conjunct[\u1000\u1039\u1001-False-2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_wcswidth_virama_conjunct[\u1000\u1039\u1001-kitty-1]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_wcswidth_virama_conjunct[\u1000\u1039\u1001-foot-2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_wcswidth_virama_conjunct[\u1000\u103b\u102d\u102f-False-2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_wcswidth_virama_conjunct[\u1000\u103b\u102d\u102f-kitty-1]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_wcswidth_virama_conjunct[\u1000\u103b\u102d\u102f-foot-1]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_wcswidth_virama_zwj_conjunct[\u0915\u094d\u200d\u0937-False-2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_wcswidth_virama_zwj_conjunct[\u0915\u094d\u200d\u0937-xterm-2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_wcswidth_language_no_override[\u1000\u1031-xterm-2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_wcswidth_language_no_override[\u0915\u093e-xterm-2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_wcswidth_language_no_override[\u0c05\u0c02-xterm-2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_width_cluster_text_override_mid_string[\u1000\u1031X-kitty-2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_width_cluster_text_override_mid_string[X\u1000\u1031-kitty-2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_width_cluster_text_override_mid_string[\u1000\u1031\u1000\u1031-kitty-2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_width_cluster_text_override_mid_string[\u0915\u093eX-kitty-2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_width_candidate_override_mid_string[\u0e01\u0e33X-kitty-2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_width_candidate_override_mid_string[X\u0e01\u0e33-kitty-2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_width_candidate_override_mid_string[\u0e01\u0e33\u0e01\u0e33-kitty-2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_width_epilogue_max_extent_update[\r\u1000\u1031-xterm-2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_width_epilogue_max_extent_update[\r\u0915\u093e-xterm-2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_width_epilogue_max_extent_update[XX\x08\x08\u1000\u1031-xterm-2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_wcstwidth_ambiguous_width_2

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_term_overrides.py:test_wcstwidth_control_character

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_text_sizing_params_control_codes[x=2--Unknown text sizing field 'x' in ]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_text_sizing_params_control_codes[s=3:x=3-s=3-Unknown text sizing field 'x' in ]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_text_sizing_params_control_codes[s=2:x=3:w=9-s=2:w=7-Unknown text sizing field 'x' in ]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_text_sizing_params_control_codes[xyz=2--Unknown text sizing field 'xyz' in ]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_text_sizing_params_control_codes[xxx--Expected '=' in text sizing parameter]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_text_sizing_params_control_codes[s=xxx--Illegal text sizing value 'xxx' in ]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_text_sizing_params_control_codes[s=-99--Out of bounds text sizing value '-99' in ]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_text_sizing_params_control_codes[s=99-s=7-Out of bounds text sizing value '99' in ]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_text_sizing_params_control_codes[w=-1--Out of bounds text sizing value '-1' in ]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_text_sizing_params_control_codes[w=8-w=7-Out of bounds text sizing value '8' in ]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_text_sizing_params_control_codes[n=20-n=15-Out of bounds text sizing value '20' in ]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_text_sizing_params_control_codes[d=99-d=15-Out of bounds text sizing value '99' in ]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_text_sizing_params_control_codes[v=5-v=2-Out of bounds text sizing value '5' in ]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_text_sizing_params_control_codes[h=3-h=2-Out of bounds text sizing value '3' in ]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_text_sizing_width_control_codes[x=2--Unknown text sizing field 'x' in ]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_text_sizing_width_control_codes[s=3:x=3-s=3-Unknown text sizing field 'x' in ]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_text_sizing_width_control_codes[s=2:x=3:w=9-s=2:w=7-Unknown text sizing field 'x' in ]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_text_sizing_width_control_codes[xyz=2--Unknown text sizing field 'xyz' in ]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_text_sizing_width_control_codes[xxx--Expected '=' in text sizing parameter]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_text_sizing_width_control_codes[s=xxx--Illegal text sizing value 'xxx' in ]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_text_sizing_width_control_codes[s=-99--Out of bounds text sizing value '-99' in ]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_text_sizing_width_control_codes[s=99-s=7-Out of bounds text sizing value '99' in ]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_text_sizing_width_control_codes[w=-1--Out of bounds text sizing value '-1' in ]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_text_sizing_width_control_codes[w=8-w=7-Out of bounds text sizing value '8' in ]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_text_sizing_width_control_codes[n=20-n=15-Out of bounds text sizing value '20' in ]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_text_sizing_width_control_codes[d=99-d=15-Out of bounds text sizing value '99' in ]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_text_sizing_width_control_codes[v=5-v=2-Out of bounds text sizing value '5' in ]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_text_sizing_width_control_codes[h=3-h=2-Out of bounds text sizing value '3' in ]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_text_sizing_params_repr[params0-TextSizingParams()]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_text_sizing_params_repr[params1-TextSizingParams(scale=2, width=1)]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_text_sizing_params_repr[params2-TextSizingParams(scale=2, width=3, numerator=1, denominator=2, vertical_align=1, horizontal_align=2)]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_text_sizing_width[params0-climclam-2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_text_sizing_width[params1-anything-6]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_text_sizing_width[params2--5]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_text_sizing_width[params3-x-3]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_text_sizing_width[params4--0]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_text_sizing_width[params5-AB-2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_text_sizing_width[params6-\u4e2d-2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_text_sizing_width[params7-AB-4]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_text_sizing_width[params8-\u4e2d-4]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_text_sizing_width[params9--0]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_text_sizing_width[params10-x!yzzy-49]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_text_sizing_sequence[\x1b]66;s=2:w=2;AB\x07-AB-s=2:w=2-4]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_text_sizing_sequence[\x1b]66;s=2:w=2;\u4e2d\x07-\u4e2d-s=2:w=2-4]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_text_sizing_sequence[\x1b]66;s=3:w=1;x\x07-x-s=3:w=1-3]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_text_sizing_sequence[\x1b]66;w=5;hello\x07-hello-w=5-5]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_text_sizing_sequence[\x1b]66;s=2:w=3;anything\x07-anything-s=2:w=3-6]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_text_sizing_sequence[\x1b]66;w=3;x\x07-x-w=3-3]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_text_sizing_sequence[\x1b]66;s=1;AB\x07-AB--2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_text_sizing_sequence[\x1b]66;s=2;AB\x07-AB-s=2-4]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_text_sizing_sequence[\x1b]66;s=2;\u4e2d\x07-\u4e2d-s=2-4]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_text_sizing_sequence[\x1b]66;s=2;\x07--s=2-0]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_text_sizing_sequence[\x1b]66;s=1:w=1;\x07--w=1-1]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_text_sizing_sequence[\x1b]66;w=2;A\x07-A-w=2-2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_text_sizing_sequence[\x1b]66;w=5\x07--w=5-5]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_text_sizing_sequence[\x1b]66;s=2\x07--s=2-0]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_text_sizing_sequence[\x1b]66;s=2:w=3;text\x1b\\-text-s=2:w=3-6]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_strings_with_text_sizing[\x1b]66;s=2:w=3:n=1:d=2:v=1:h=2;x!yzzy\x1b\\-6]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_strings_with_text_sizing[\x1b]66;s=2:w=3;anything\x07-6]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_strings_with_text_sizing[\x1b]66;w=3;x\x07-3]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_strings_with_text_sizing[\x1b]66;s=1:w=0;AB\x07-2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_strings_with_text_sizing[\x1b]66;s=2:w=0;AB\x07-4]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_strings_with_text_sizing[\x1b]66;s=2:w=0;\u4e2d\x07-4]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_strings_with_text_sizing[\x1b]66;s=1:w=0;\x07-0]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_strings_with_text_sizing[abc\x1b]66;w=3;x\x07def-9]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_strings_with_text_sizing[\x1b]66;w=2;A\x07\x1b]66;w=3;B\x07-5]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_strings_with_text_sizing[\x1b]66;w=3\x07-3]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_strings_with_text_sizing[\x1b]66;s=2\x07-0]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_strings_with_text_sizing[\x1b]66;s=2:w=3;text\x1b\\-6]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_strings_with_text_sizing[\x1b[31m\x1b]66;w=2;AB\x07\x1b[0m-2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_strings_with_text_sizing[\x1b]66;;\x01\x07-0]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_strip_strings_with_text_sizing[\x1b]66;s=2;hello\x07-hello]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_strip_strings_with_text_sizing[\x1b]66;s=2;hello\x1b\\-hello]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_strip_strings_with_text_sizing[\x1b]66;;text\x07-text]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_strip_strings_with_text_sizing[\x1b]66;s=3:w=2;\x07-]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_strip_strings_with_text_sizing[\x1b]66;w=3\x07-]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_strip_strings_with_text_sizing[abc\x1b]66;w=2;XY\x07def-abcXYdef]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_strip_strings_with_text_sizing[\x1b[31m\x1b]66;s=2;red\x07\x1b[0m-red]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_strip_strings_with_text_sizing[\x1b]66;w=1;A\x07\x1b]66;w=1;B\x07-AB]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_iter_sequences_text_sizing[abc\x1b]66;s=2;hello\x07def-expected_segs0]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_iter_sequences_text_sizing[abc\x1b]66;s=2;n=1,d=2,w=3;hello\x1b\\def-expected_segs1]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_clip_text_sizing_basic[\x1b]66;w=3;ABC\x07-0-3-\x1b]66;w=3;ABC\x07]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_clip_text_sizing_basic[\x1b]66;w=3;ABC\x07-0-2-\x1b]66;w=2;AB\x07]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_clip_text_sizing_basic[\x1b]66;w=3;ABC\x07-1-3-\x1b]66;w=2;BC\x07]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_clip_text_sizing_basic[ab\x1b]66;w=2;XY\x07cd-0-6-ab\x1b]66;w=2;XY\x07cd]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_clip_text_sizing_basic[ab\x1b]66;w=2;XY\x07cd-0-3-ab\x1b]66;w=1;X\x07]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_clip_text_sizing_basic[ab\x1b]66;w=2;XY\x07cd-3-6-\x1b]66;w=1;Y\x07cd]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_clip_text_sizing_basic[ab\x1b]66;w=2;XY\x07cd-4-6-cd]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_clip_text_sizing_scaled[\x1b]66;s=2;ABC\x07-0-0-]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_clip_text_sizing_scaled[\x1b]66;s=2;ABC\x07-6-6-]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_clip_text_sizing_scaled[\x1b]66;s=2;ABC\x07-0-2-\x1b]66;s=2;A\x07]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_clip_text_sizing_scaled[\x1b]66;s=2;ABC\x07-0-4-\x1b]66;s=2;AB\x07]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_clip_text_sizing_scaled[\x1b]66;s=2;ABC\x07-0-6-\x1b]66;s=2;ABC\x07]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_clip_text_sizing_scaled[\x1b]66;s=2;ABC\x07-2-6-\x1b]66;s=2;BC\x07]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_clip_text_sizing_scaled[\x1b]66;s=2;ABC\x07-4-6-\x1b]66;s=2;C\x07]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_clip_text_sizing_scaled_with_fillchar[\x1b]66;s=3;ABC\x07-0-0-]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_clip_text_sizing_scaled_with_fillchar[\x1b]66;s=3;ABC\x07-0-1-.]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_clip_text_sizing_scaled_with_fillchar[\x1b]66;s=3;ABC\x07-0-2-..]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_clip_text_sizing_scaled_with_fillchar[\x1b]66;s=3;ABC\x07-0-3-\x1b]66;s=3;A\x07]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_clip_text_sizing_scaled_with_fillchar[\x1b]66;s=3;ABC\x07-0-4-\x1b]66;s=3;A\x07.]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_clip_text_sizing_scaled_with_fillchar[\x1b]66;s=3;ABC\x07-0-5-\x1b]66;s=3;A\x07..]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_clip_text_sizing_scaled_with_fillchar[\x1b]66;s=3;ABC\x07-0-6-\x1b]66;s=3;AB\x07]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_clip_text_sizing_scaled_with_fillchar[\x1b]66;s=3;ABC\x07-0-7-\x1b]66;s=3;AB\x07.]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_clip_text_sizing_scaled_with_fillchar[\x1b]66;s=3;ABC\x07-0-8-\x1b]66;s=3;AB\x07..]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_clip_text_sizing_scaled_with_fillchar[\x1b]66;s=3;ABC\x07-0-9-\x1b]66;s=3;ABC\x07]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_clip_text_sizing_scaled_with_fillchar[\x1b]66;s=3;ABC\x07-0-10-\x1b]66;s=3;ABC\x07]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_clip_text_sizing_scaled_with_fillchar[\x1b]66;s=3;ABC\x07-1-1-]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_clip_text_sizing_scaled_with_fillchar[\x1b]66;s=3;ABC\x07-1-2-.]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_clip_text_sizing_scaled_with_fillchar[\x1b]66;s=3;ABC\x07-1-3-..]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_clip_text_sizing_scaled_with_fillchar[\x1b]66;s=3;ABC\x07-1-4-...]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_clip_text_sizing_scaled_with_fillchar[\x1b]66;s=3;ABC\x07-1-5-....]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_clip_text_sizing_scaled_with_fillchar[\x1b]66;s=3;ABC\x07-1-6-..\x1b]66;s=3;B\x07]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_clip_text_sizing_scaled_with_fillchar[\x1b]66;s=3;ABC\x07-1-7-..\x1b]66;s=3;B\x07.]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_clip_text_sizing_scaled_with_fillchar[\x1b]66;s=3;ABC\x07-1-8-..\x1b]66;s=3;B\x07..]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_clip_text_sizing_scaled_with_fillchar[\x1b]66;s=3;ABC\x07-1-9-..\x1b]66;s=3;BC\x07]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_clip_text_sizing_scaled_with_fillchar[\x1b]66;s=3;ABC\x07-1-10-..\x1b]66;s=3;BC\x07]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_clip_text_sizing_scaled_with_fillchar[\x1b]66;s=3;ABC\x07-2-2-]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_clip_text_sizing_scaled_with_fillchar[\x1b]66;s=3;ABC\x07-2-3-.]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_clip_text_sizing_scaled_with_fillchar[\x1b]66;s=3;ABC\x07-2-4-..]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_clip_text_sizing_scaled_with_fillchar[\x1b]66;s=3;ABC\x07-2-5-...]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_clip_text_sizing_scaled_with_fillchar[\x1b]66;s=3;ABC\x07-2-6-.\x1b]66;s=3;B\x07]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_clip_text_sizing_scaled_with_fillchar[\x1b]66;s=3;ABC\x07-2-7-.\x1b]66;s=3;B\x07.]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_clip_text_sizing_scaled_with_fillchar[\x1b]66;s=3;ABC\x07-2-8-.\x1b]66;s=3;B\x07..]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_clip_text_sizing_scaled_with_fillchar[\x1b]66;s=3;ABC\x07-2-9-.\x1b]66;s=3;BC\x07]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_clip_text_sizing_scaled_with_fillchar[\x1b]66;s=3;ABC\x07-2-10-.\x1b]66;s=3;BC\x07]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_clip_text_sizing_scaled_with_fillchar[\x1b]66;s=3;ABC\x07-3-3-]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_clip_text_sizing_scaled_with_fillchar[\x1b]66;s=3;ABC\x07-3-4-.]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_clip_text_sizing_scaled_with_fillchar[\x1b]66;s=3;ABC\x07-3-5-..]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_clip_text_sizing_scaled_with_fillchar[\x1b]66;s=3;ABC\x07-3-6-\x1b]66;s=3;B\x07]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_clip_text_sizing_scaled_with_fillchar[\x1b]66;s=3;ABC\x07-3-7-\x1b]66;s=3;B\x07.]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_clip_text_sizing_scaled_with_fillchar[\x1b]66;s=3;ABC\x07-3-8-\x1b]66;s=3;B\x07..]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_clip_text_sizing_scaled_with_fillchar[\x1b]66;s=3;ABC\x07-3-9-\x1b]66;s=3;BC\x07]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_clip_text_sizing_scaled_with_fillchar[\x1b]66;s=3;ABC\x07-3-10-\x1b]66;s=3;BC\x07]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_clip_simple_path_padding

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_clip_text_sizing_painter[\r\x1b]66;w=2;XY\x07-0-3-\x1b]66;w=2;XY\x07]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_clip_text_sizing_painter[\r\x1b]66;w=2;XY\x07-0-1-\x1b]66;w=1;X\x07]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_clip_text_sizing_painter[ab\x08\x08\x1b]66;w=2;XY\x07-0-4-\x1b]66;w=2;XY\x07]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_clip_text_sizing_painter[\ra\x1b]66;s=2;BC\x07-0-3-a\x1b]66;s=2;B\x07]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_clip_text_sizing_painter[\r\x1b]66;s=3;ABC\x07-1-6-  \x1b]66;s=3;B\x07]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_clip_text_sizing_painter[ab\x1b[2D\x1b]66;w=2;XY\x07-0-4-\x1b]66;w=2;XY\x07]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_clip_text_sizing_painter[\r\x1b]66;w=2;XY\x07-2-4-]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_clip_text_sizing_painter[\ra\x1b]66;s=2;BC\x07-0-5-a\x1b]66;s=2;BC\x07]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_clip_text_sizing_painter[\r\x1b]66;w=3;A\x07-0-2-\x1b]66;w=2;A\x07]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_text_sizing.py:test_clip_text_sizing_painter[\r\x1b]66;s=2;ABCD\x07-4-8-\x1b]66;s=2;CD\x07]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_edge_cases[-10-expected0]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_edge_cases[   -10-expected1]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_edge_cases[\u5973-1-expected2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_edge_cases[\U0001f469\u200d\U0001f469\u200d\U0001f467\u200d\U0001f466-1-expected3]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_edge_cases[\u1100\u1161-1-expected4]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_bad_width[0]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_bad_width[-1]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_initial_indent

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_indent_consumes_full_width

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_long_words[abcdefghij-3-True-expected0]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_long_words[abcdefghij-3-False-expected1]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_hyphen_long_words[a-b-c-d-3-True-True-expected0]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_hyphen_long_words[a-b-c-d-3-False-True-expected1]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_hyphen_long_words[----2-True-True-expected2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_hyphen_long_words[a---b-2-True-True-expected3]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_hyphen_long_words[a-\x1b[31mb-2-True-True-expected4]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_hyphen_long_words[a-\x1b[31mb-2-True-False-expected5]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_hyphen_long_words[\u53e4\u53e4-1abcdef-3-True-True-expected6]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_hyphen_long_words[\u53e4\u53e4-1abcdef-4-True-True-expected7]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_hyphen_long_words[\u53e4\u53e4-1abcdef-5-True-True-expected8]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_hyphen_long_words[e\u0301e\u0301-1abcdef-4-True-True-expected9]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_hyphen_long_words[\U0001f469\U0001f469-1abc-4-True-True-expected10]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_hyphen_long_words[\x1b[31m\u6f22\u6f22\u6f22-\xe9-3-True-False-expected11]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_hyphen_long_words[\x1b[31m\u6f22\u6f22\u6f22-\xe9-3-True-True-expected12]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_hyphen_long_words[a-\u53e4\u53e4\u53e4-6-True-False-expected13]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_hyphen_long_words[a-\u53e4\u53e4\u53e4-5-True-False-expected14]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_hyphen_breaks[yaba daba-doo-10-True-expected0]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_hyphen_breaks[yaba daba-doo-10-False-expected1]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_hyphen_breaks[You can also do--this or even---this.-15-True-expected2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_hyphen_breaks[You can also do--this or even---this.-17-True-expected3]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_hyphen_breaks[You can also do--this or even---this.-29-True-expected4]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_hyphen_breaks[You can also do--this or even---this.-32-True-expected5]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_hyphen_breaks[aa \xe4\xe4-\xe4\xe4-7-True-expected6]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_hyphen_breaks[Die Empf\xe4nger-Auswahl-13-True-expected7]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_hyphen_breaks[This is a sentence with non-breaking\u202fspace.-20-True-expected8]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_hyphen_breaks[This is a sentence with non-breaking\u202fspace.-20-False-expected9]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_hyphen_breaks[This is a sentence with non-breaking\xa0space.-20-True-expected10]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_hyphen_breaks[This is a sentence with non-breaking\xa0space.-20-False-expected11]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_hyphen_breaks[You should use the -n option, or --dry-run in its long form.-20-True-expected12]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_hyphen_breaks[You should use the -n option, or --dry-run in its long form.-21-True-expected13]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_hyphen_breaks[You should use the -n option, or --dry-run in its long form.-39-True-expected14]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_hyphen_breaks[You should use the -n option, or --dry-run in its long form.-42-True-expected15]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_hyphenated_words[this-is-a-useful-feature-for-reformatting-posts-from-tim-peters'ly-40-expected0]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_hyphenated_words[this-is-a-useful-feature-for-reformatting-posts-from-tim-peters'ly-42-expected1]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_long_hyphenated_words[We used enyzme 2-succinyl-6-hydroxy-2,4-cyclohexadiene-1-carboxylate synthase.\n-50-kwargs0-expected0]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_long_hyphenated_words[We used enyzme 2-succinyl-6-hydroxy-2,4-cyclohexadiene-1-carboxylate synthase.\n-50-kwargs1-expected1]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_long_hyphenated_words[We used enyzme 2-succinyl-6-hydroxy-2,4-cyclohexadiene-1-carboxylate synthase.\n-50-kwargs2-expected2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_long_hyphenated_words[We used enyzme 2-succinyl-6-hydroxy-2,4-cyclohexadiene-1-carboxylate synthase.\n-50-kwargs3-expected3]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_long_hyphenated_words[We used enyzme 2-succinyl-6-hydroxy-2,4-cyclohexadiene-1-carboxylate synthase.\n-10-kwargs4-expected4]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_long_hyphenated_words[We used enyzme 2-succinyl-6-hydroxy-2,4-cyclohexadiene-1-carboxylate synthase.\n-10-kwargs5-expected5]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_long_hyphenated_words[We used enyzme 2-succinyl-6-hydroxy-2,4-cyclohexadiene-1-carboxylate synthase.\n-10-kwargs6-expected6]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_long_hyphenated_words[We used enyzme 2-succinyl-6-hydroxy-2,4-cyclohexadiene-1-carboxylate synthase.\n-10-kwargs7-expected7]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_long_hyphenated_words[1234567890-1234567890--this_is_a_very_long_option_indeed-good-bye"\n-10-kwargs8-expected8]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_long_hyphenated_words[1234567890-1234567890--this_is_a_very_long_option_indeed-good-bye"\n-10-kwargs9-expected9]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_long_hyphenated_words[1234567890-1234567890--this_is_a_very_long_option_indeed-good-bye"\n-10-kwargs10-expected10]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_long_hyphenated_words[1234567890-1234567890--this_is_a_very_long_option_indeed-good-bye"\n-10-kwargs11-expected11]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_fix_sentence_endings[I say, chaps! Anyone for "tennis?"\nHmmph!-20-expected0]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_fix_sentence_endings[And she said, "Go to hell!"\nCan you believe that?-20-expected1]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_matches_stdlib[3-kwargs0]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_matches_stdlib[3-kwargs1]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_matches_stdlib[3-kwargs2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_matches_stdlib[3-kwargs3]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_matches_stdlib[3-kwargs4]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_matches_stdlib[3-kwargs5]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_matches_stdlib[3-kwargs6]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_matches_stdlib[3-kwargs7]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_matches_stdlib[3-kwargs8]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_matches_stdlib[3-kwargs9]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_matches_stdlib[3-kwargs10]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_matches_stdlib[3-kwargs11]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_matches_stdlib[3-kwargs12]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_matches_stdlib[3-kwargs13]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_matches_stdlib[8-kwargs0]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_matches_stdlib[8-kwargs1]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_matches_stdlib[8-kwargs2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_matches_stdlib[8-kwargs3]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_matches_stdlib[8-kwargs4]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_matches_stdlib[8-kwargs5]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_matches_stdlib[8-kwargs6]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_matches_stdlib[8-kwargs7]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_matches_stdlib[8-kwargs8]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_matches_stdlib[8-kwargs9]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_matches_stdlib[8-kwargs10]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_matches_stdlib[8-kwargs11]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_matches_stdlib[8-kwargs12]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_matches_stdlib[8-kwargs13]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_matches_stdlib[20-kwargs0]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_matches_stdlib[20-kwargs1]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_matches_stdlib[20-kwargs2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_matches_stdlib[20-kwargs3]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_matches_stdlib[20-kwargs4]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_matches_stdlib[20-kwargs5]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_matches_stdlib[20-kwargs6]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_matches_stdlib[20-kwargs7]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_matches_stdlib[20-kwargs8]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_matches_stdlib[20-kwargs9]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_matches_stdlib[20-kwargs10]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_matches_stdlib[20-kwargs11]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_matches_stdlib[20-kwargs12]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_matches_stdlib[20-kwargs13]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_matches_stdlib[33-kwargs0]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_matches_stdlib[33-kwargs1]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_matches_stdlib[33-kwargs2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_matches_stdlib[33-kwargs3]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_matches_stdlib[33-kwargs4]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_matches_stdlib[33-kwargs5]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_matches_stdlib[33-kwargs6]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_matches_stdlib[33-kwargs7]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_matches_stdlib[33-kwargs8]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_matches_stdlib[33-kwargs9]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_matches_stdlib[33-kwargs10]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_matches_stdlib[33-kwargs11]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_matches_stdlib[33-kwargs12]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_matches_stdlib[33-kwargs13]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[4-8-kwargs0]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[4-8-kwargs1]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[4-8-kwargs2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[4-8-kwargs3]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[4-8-kwargs4]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[4-8-kwargs5]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[4-8-kwargs6]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[4-8-kwargs7]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[4-8-kwargs8]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[4-8-kwargs9]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[4-8-kwargs10]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[4-8-kwargs11]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[4-8-kwargs12]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[4-8-kwargs13]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[4-20-kwargs0]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[4-20-kwargs1]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[4-20-kwargs2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[4-20-kwargs3]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[4-20-kwargs4]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[4-20-kwargs5]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[4-20-kwargs6]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[4-20-kwargs7]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[4-20-kwargs8]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[4-20-kwargs9]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[4-20-kwargs10]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[4-20-kwargs11]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[4-20-kwargs12]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[4-20-kwargs13]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[4-37-kwargs0]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[4-37-kwargs1]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[4-37-kwargs2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[4-37-kwargs3]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[4-37-kwargs4]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[4-37-kwargs5]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[4-37-kwargs6]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[4-37-kwargs7]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[4-37-kwargs8]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[4-37-kwargs9]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[4-37-kwargs10]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[4-37-kwargs11]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[4-37-kwargs12]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[4-37-kwargs13]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[5-8-kwargs0]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[5-8-kwargs1]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[5-8-kwargs2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[5-8-kwargs3]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[5-8-kwargs4]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[5-8-kwargs5]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[5-8-kwargs6]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[5-8-kwargs7]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[5-8-kwargs8]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[5-8-kwargs9]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[5-8-kwargs10]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[5-8-kwargs11]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[5-8-kwargs12]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[5-8-kwargs13]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[5-20-kwargs0]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[5-20-kwargs1]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[5-20-kwargs2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[5-20-kwargs3]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[5-20-kwargs4]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[5-20-kwargs5]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[5-20-kwargs6]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[5-20-kwargs7]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[5-20-kwargs8]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[5-20-kwargs9]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[5-20-kwargs10]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[5-20-kwargs11]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[5-20-kwargs12]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[5-20-kwargs13]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[5-37-kwargs0]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[5-37-kwargs1]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[5-37-kwargs2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[5-37-kwargs3]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[5-37-kwargs4]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[5-37-kwargs5]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[5-37-kwargs6]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[5-37-kwargs7]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[5-37-kwargs8]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[5-37-kwargs9]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[5-37-kwargs10]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[5-37-kwargs11]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[5-37-kwargs12]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[5-37-kwargs13]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[8-8-kwargs0]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[8-8-kwargs1]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[8-8-kwargs2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[8-8-kwargs3]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[8-8-kwargs4]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[8-8-kwargs5]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[8-8-kwargs6]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[8-8-kwargs7]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[8-8-kwargs8]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[8-8-kwargs9]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[8-8-kwargs10]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[8-8-kwargs11]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[8-8-kwargs12]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[8-8-kwargs13]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[8-20-kwargs0]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[8-20-kwargs1]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[8-20-kwargs2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[8-20-kwargs3]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[8-20-kwargs4]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[8-20-kwargs5]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[8-20-kwargs6]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[8-20-kwargs7]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[8-20-kwargs8]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[8-20-kwargs9]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[8-20-kwargs10]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[8-20-kwargs11]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[8-20-kwargs12]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[8-20-kwargs13]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[8-37-kwargs0]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[8-37-kwargs1]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[8-37-kwargs2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[8-37-kwargs3]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[8-37-kwargs4]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[8-37-kwargs5]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[8-37-kwargs6]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[8-37-kwargs7]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[8-37-kwargs8]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[8-37-kwargs9]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[8-37-kwargs10]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[8-37-kwargs11]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[8-37-kwargs12]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_matches_stdlib[8-37-kwargs13]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_multiline_matches_stdlib

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_unicode[\u4e2d\u6587\u5b57\u7b26-4-expected0]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_unicode[\u4e2d\u6587\u5b57-5-expected1]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_unicode[cafe\u0301-latte-4-expected2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_unicode[\U0001f469\u200d\U0001f469\u200d\U0001f467 ab-4-expected3]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_unicode[\u263a\ufe0f ab-3-expected4]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_unicode[\U0001f469\U0001f467\U0001f466-4-expected5]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_sequences[\x1b[31mred\x1b[0m blue-4-expected0]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_sequences[hello\x1b[31m world-6-expected1]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_sequences[\x1b[31m\x1b[0m-10-expected2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_sequences[hello \x1b[31m\x1b[0mworld-6-expected3]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_sequences[\x1b]8;;https://example.com\x07link\x1b]8;;\x07 text-5-expected4]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_sequences[\x1b[5Ctext here-10-expected5]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_sequences[\x07alert text-6-expected6]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_sequences[x\x1b[31mabcdefghij\x1b[0m-3-expected7]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_sequences[abc\x1bdefghij-3-expected8]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_sequences_no_propagate[hello\x1b[31m world-6-expected0]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_sequences_no_propagate[x\x1b[31mabcdefghij\x1b[0m-3-expected1]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_mixed[\x1b[31m\u4e2d\u6587\x1b[0m ab-5-expected0]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_mixed[\x1b[31m\U0001f469\u200d\U0001f469\u200d\U0001f467\x1b[0m ab-4-expected1]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_mixed[\x1b[1m\u4e2d\x1b[0my z-4-expected2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_wide_chars[\u4e2d\ta b-6-4-expected0]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_wide_chars[\u4e2d\ta b-10-8-expected1]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_wide_chars[\u263a\ufe0f\ta b-6-4-expected2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_wide_chars[\u4e2d\u6587\ta-8-4-expected3]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tabsize_wide_chars[a\t\u4e2d b-8-4-expected4]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_hyperlink_word_boundary[\x1b]8;;http://example.com\x1b\\link\x1b]8;;\x1b\\more-5-expected0]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_hyperlink_word_boundary[\x1b]8;;http://example.com\x07link\x1b]8;;\x07more-5-expected1]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_hyperlink_word_boundary[prefix\x1b]8;;http://example.com\x1b\\link\x1b]8;;\x1b\\-6-expected2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_hyperlink_word_boundary[prefix\x1b]8;;http://example.com\x07link\x1b]8;;\x07-6-expected3]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_hyperlink_word_boundary[prefix\x1b]8;;http://example.com\x1b\\link\x1b]8;;\x1b\\suffix-6-expected4]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_hyperlink_word_boundary[prefix\x1b]8;;http://example.com\x07link\x1b]8;;\x07suffix-6-expected5]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_hyperlink_word_boundary[foo \x1b[31m\x1b]8;;http://example.com\x1b\\link\x1b]8;;\x1b\\\x1b[0m bar-6-expected6]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_hyperlink_word_boundary[foo \x1b[31m\x1b]8;;http://example.com\x07link\x1b]8;;\x07\x1b[0m bar-6-expected7]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_hyperlink_word_boundary[foo \x1b]8;;http://example.com\x1b\\\x1b[31mlink\x1b[0m\x1b]8;;\x1b\\ bar-6-expected8]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_hyperlink_word_boundary[foo \x1b]8;;http://example.com\x07\x1b[31mlink\x1b[0m\x1b]8;;\x07 bar-6-expected9]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_hyperlink_word_boundary[Go \x1b]8;;http://example.com\x1b\\Click here\x1b]8;;\x1b\\ now-5-expected10]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_hyperlink_word_boundary[Go \x1b]8;;http://example.com\x07Click here\x1b]8;;\x07 now-5-expected11]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_hyperlink_word_boundary[\x1b]8;id=my-link;http://example.com\x1b\\Click here\x1b]8;;\x1b\\-6-expected12]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_hyperlink_word_boundary[\x1b]8;;http://example.com\x1b\\one two three\x1b]8;;\x1b\\-5-expected13]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_hyperlink_word_boundary[\x1b]8;;http://example.com\x1b\\ab cd\x1b]8;;\x1b\\ \x1b]8;;http://example.com\x07ef gh\x1b]8;;\x07-4-expected14]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_hyperlink_word_boundary[\x1b]8;id=first;https://a\x07aa bb\x1b]8;;\x07 \x1b]8;id=second;https://b\x07cc dd ee\x1b]8;;\x07-5-expected15]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_hyperlink_word_boundary[\x1b]8;;http://example.com\x1b\\abcdefgh\x1b]8;;\x1b\\-3-expected16]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_hyperlink_word_boundary[\x1b]8;foo=bar;http://example.com\x1b\\Click here\x1b]8;;\x1b\\-6-expected17]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_hyperlink_word_boundary[\x1b]8;foo=bar:id=mylink;http://example.com\x1b\\Click here\x1b]8;;\x1b\\-6-expected18]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_hyperlink_word_boundary[\x1b]8;;u\x07\U0001f600-1-expected19]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_hyperlink_word_boundary[\x1b]8;;u\x07\u3042-1-expected20]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_max_lines_matches_stdlib[The quick brown fox jumps over the lazy dog-kwargs0]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_max_lines_matches_stdlib[1234567890 1234567890 extra-kwargs1]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_max_lines_matches_stdlib[1234567890 1234567890-kwargs2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_max_lines_matches_stdlib[short 1234567890 extra-kwargs3]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_max_lines_matches_stdlib[hello world-kwargs4]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_max_lines_matches_stdlib[hello world foo bar baz-kwargs5]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_max_lines_matches_stdlib[a bb ccc-kwargs6]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_max_lines_matches_stdlib[a bb ccc dddd-kwargs7]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_max_lines_matches_stdlib[ a -kwargs8]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_max_lines_matches_stdlib[hello world-kwargs9]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_max_lines_matches_stdlib[ab cd-kwargs10]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_max_lines_matches_stdlib[aaa bbb ccc-kwargs11]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_max_lines_matches_stdlib[hello world foo bar-kwargs12]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_max_lines_matches_stdlib[hello world foo bar-kwargs13]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_placeholder_too_large

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_max_lines_sequences[\x1b[31mhello world foo bar\x1b[0m-8-2-...-expected0]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_max_lines_sequences[\x1b[31mhello\x1b[0m world foo-8-2-...-expected1]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_max_lines_sequences[\x1b[31mhello\x1b[0m world-6-1-.-expected2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_max_lines_sequences[\u4e2d\u6587 \u5b57\u7b26 hello-5-1-~-expected3]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_max_lines_sequences[\u4e2d\u6587 \u5b57\u7b26 hello world-5-2-~-expected4]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_max_lines_sequences[\u4e2d\u6587\u5b57\u7b26 hello-12-1-...-expected5]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_max_lines_hyperlink_closed

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_max_lines_hyperlink_close_on_prev_line

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_stdlib_params[hello\tworld-kwargs0]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_stdlib_params[hello\tworld foo\tbar baz-kwargs1]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_stdlib_params[hello\nworld-kwargs2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_stdlib_params[a\t b\n c-kwargs3]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_stdlib_params[Hello world. This is a test.  More text.-kwargs4]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_stdlib_params[Dr. Smith went to Washington. He left.-kwargs5]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_expand_tabs_false_with_sequences

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_replace_whitespace_false_newlines_zero_width

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_bare_esc

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_bare_esc_at_line_start

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_embedded_nul

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_tab_expansion_counts_codepoints

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_osc_boundaries

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_unterminated_osc

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_virama_conjunct_known_limitation[\u0b95\u0bcd\u0b95\u0bcd\u0b95]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_virama_conjunct_known_limitation[\u0c95\u0ccd\u0c95\u0ccd\u0c95]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_virama_conjunct_known_limitation[\u0d9a\u0dca\u0d9a\u0dca\u0d9a]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_drops_leading_whitespace_only_lines[ hello]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_drops_leading_whitespace_only_lines[  hello]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_wrap_drops_leading_whitespace_only_lines[    hello]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_textwrap.py:test_iter_graphemes_import_error_fallback

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_ucslevel.py:test_list_versions_single

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_ucslevel.py:test_latest

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_ucslevel.py:test_auto

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_ucslevel.py:test_wcmatch_version_always_latest

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_ucslevel.py:test_env_var_ignored

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_ucslevel.py:test_unicode_version_param_ignored

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_width_basic[-0-empty]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_width_basic[hello-5-ASCII]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_width_basic[\u30b3\u30f3\u30cb\u30c1\u30cf-10-CJK]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_width_basic[cafe\u0301-4-combining]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_width_basic[\U0001f468\u200d\U0001f469\u200d\U0001f467-2-ZWJ]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_width_control_codes_ignore[hello\x01world-10-C0_control]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_width_control_codes_ignore[hello\x00world-10-NUL]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_width_control_codes_ignore[abc\x08d-4-backspace]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_width_control_codes_ignore[abc\nxy-5-LF]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_width_control_codes_ignore[\x1b[31mred\x1b[0m-3-SGR_sequence]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_width_control_codes_ignore[hello\x80world-10-C1_control]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_width_control_codes_ignore[\x1b-0-lone_ESC]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_width_control_codes_ignore[a\x1bb-1-fs_sequence_between]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_width_control_codes_strict_raises[hello\x01world-C0_control]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_width_control_codes_strict_raises[hello\x1aworld-ctrl_z]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_width_control_codes_strict_raises[hello\x7fworld-DEL]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_width_control_codes_strict_raises[hello\x80world-C1_control]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_width_control_codes_strict_raises[hello\nworld-LF]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_width_control_codes_strict_raises[hello\rworld-CR]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_width_control_codes_strict_raises[hello\x1b[Hworld-cursor_home]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_width_control_codes_strict_raises[hello\x1b[Aworld-cursor_up]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_width_control_codes_strict_raises[hello\x1b[5Gworld-hpa]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_width_control_codes_strict_allowed[hello\x07world-10-BEL]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_width_control_codes_strict_allowed[hello\x00world-10-NUL]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_width_control_codes_strict_allowed[abc\x08d-3-backspace]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_width_control_codes_strict_allowed[\x1b[31mred\x1b[0m-3-SGR_sequence]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_width_control_codes_strict_allowed[a\x1b[2Cb-4-cursor_right]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_width_control_codes_strict_allowed[ab\x1b[Db-2-cursor_left]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_width_control_codes_strict_allowed[\x1b-0-lone_ESC]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_width_control_codes_strict_allowed[a\x1bb-1-fs_sequence_between]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_width_control_codes_strict_allowed[\x1b!-1-ESC_unrecognized]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_width_strict_indeterminate_raises[\x1b[?1049h-enter_fullscreen]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_width_strict_indeterminate_raises[\x1b[?1049l-exit_fullscreen]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_width_strict_indeterminate_raises[\x1bD-scroll_forward]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_width_strict_indeterminate_raises[\x1bM-scroll_reverse]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_width_strict_indeterminate_raises[\x1b8-restore_cursor]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_width_strict_indeterminate_raises[\x1b[1P-parm_dch]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_width_strict_indeterminate_raises[\x1b[1M-parm_delete_line]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_width_strict_indeterminate_raises[\x1b[1L-parm_insert_line]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_width_strict_indeterminate_raises[\x1b[1X-erase_chars]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_width_strict_indeterminate_raises[\x1b[1S-parm_index]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_width_strict_indeterminate_raises[\x1b[1T-parm_rindex]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_width_strict_indeterminate_raises[\x1bc-full_reset]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_width_control_codes_parse[hello\x01world-10-C0_control]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_width_control_codes_parse[abc\x08d-3-backspace]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_width_control_codes_parse[abc\rxy-3-CR]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_width_control_codes_parse[abc\nxy-5-LF_vertical]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_width_control_codes_parse[a\x1b[2Cb-4-cursor_right]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_width_control_codes_parse[abcd\x1b[2De-4-cursor_left]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_width_control_codes_parse[\x1b[31mred\x1b[0m-3-SGR]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_width_control_codes_parse[ab\x1b[Hcd-4-indeterminate]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_width_control_codes_parse[def\x1b[3Dabc-3-cursor_left_overwrite]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_width_control_codes_parse[def\x1b[10Dabc-3-cursor_left_past_start]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_width_control_codes_parse[abc\x1b[5Gde-6-hpa_parse]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_width_control_codes_parse[abc\x1b[Gde-3-hpa_no_param]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_width_control_codes_parse[\x1b[5Gabc-7-hpa_before_text]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_width_tabsize[\t-8-8-default]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_width_tabsize[abc\t-8-8-after_text]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_width_tabsize[ab\t-4-4-tabsize_4]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_width_tabsize_zero

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_width_tabsize_zero_parse

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_width_escape_sequences[\x1b[m-0-basic_SGR]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_width_escape_sequences[\x1b[38;2;255;0;0m-0-RGB_SGR]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_width_escape_sequences[\x1b]8;;https://example.com\x07link\x1b]8;;\x07-4-OSC_hyperlink]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_width_escape_sequences[\x1b]0;title\x07text-4-OSC_title]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_width_escape_sequences[\x1b(B-0-charset]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_width_escape_sequences[\x1b(\n-0-charset_newline_final]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_width_escape_sequences[\x1b[-0-Fe_CSI]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_width_edge_cases[\x1b[31m\x1b[0m-0-only_escapes]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_width_edge_cases[\x1b[31mhello\x1b[0m world-11-mixed_content]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_width_edge_cases[\x1b[31m\u30b3\x1b[0m-2-wide_with_escape]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_width_edge_cases[\x1b-0-lone_ESC]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_width_edge_cases[\x1b!-1-ESC_unrecognized]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_width_edge_cases[*\x1b*-2-lone_ESC_between_text]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_width_edge_cases[\tA\u0cbe\rB\u0cbe\x08-10-backspace_flush_below_max_extent]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_width_edge_cases[\tA\u0cbe\rB\u0cbe\x1b-10-esc_flush_below_max_extent]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_width_edge_cases[\tA\u0cbe\rB\u0cbe\x00-10-zero_width_flush_below_max_extent]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_width_edge_cases[\tA\u0cbe\rB\u0cbe\x01-10-illegal_ctrl_flush_below_max_extent]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_width_edge_cases[\tA\u0cbe\rB\u0cbe\n-10-vertical_ctrl_flush_below_max_extent]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_width_edge_cases[\u4e2d\u0bcd\u4e2d\u0bcd\u4e2d\u0bcd\u4e2d-2-glitch_virama_chain_capped]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_width_edge_cases[\u0b95\u0bcd\u0b95\u0bcd\u0b95-2-tamil_conjunct_capped]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_width_edge_cases[\u0930\u094d\u0924\u094d\u0938\u094d\u0928\u094d\u092f-2-devanagari_conjunct_capped]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_width_unknown_control_codes

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_vs16_selector

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_zwj_with_non_emoji_chars

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_vs16_after_control_chars

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_width_long_horizontal_fastpath

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_backspace_at_column_zero

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_carriage_return_resets_column

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_carriage_return_strict_raises

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_hpa_parse_best_effort

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_hpa_strict_raises

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_cursor_left_strict_out_of_bounds

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_cursor_left_out_of_bounds_parse_no_raise

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_csi_longer_than_span_buffer_is_zero_width

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_cursor_left_out_of_bounds_ignore_mode

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_iter_sequences_lone_esc

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_tab_ignore_with_tabsize

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_cursor_right_unparameterized

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_indeterminate_caps_covered_by_term_seq_pattern[\x1b[1;1r-change_scroll_region]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_indeterminate_caps_covered_by_term_seq_pattern[\x1b[H\x1b[2J-clear_screen]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_indeterminate_caps_covered_by_term_seq_pattern[\x1b[K-clr_eol]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_indeterminate_caps_covered_by_term_seq_pattern[\x1b[1;1H-cursor_address]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_indeterminate_caps_covered_by_term_seq_pattern[\x1b[A-cursor_up]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_indeterminate_caps_covered_by_term_seq_pattern[\x1b[M-delete_line]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_indeterminate_caps_covered_by_term_seq_pattern[\x1b[?1049h-enter_fullscreen]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_indeterminate_caps_covered_by_term_seq_pattern[\x1b[1X-erase_chars]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_indeterminate_caps_covered_by_term_seq_pattern[\x1b[L-insert_line]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_indeterminate_caps_covered_by_term_seq_pattern[\x1b[1S-parm_index]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_indeterminate_caps_covered_by_term_seq_pattern[\x1b[1A-parm_up_cursor]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_indeterminate_caps_covered_by_term_seq_pattern[\x1b8-restore_cursor]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_indeterminate_caps_covered_by_term_seq_pattern[\x1b[1d-row_address]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_indeterminate_caps_covered_by_term_seq_pattern[\x1bD-scroll_forward]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_zero_width_sequences_matched_by_pattern[\x1b[3g-clear_all_tabs]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_zero_width_sequences_matched_by_pattern[\x1b[?25l-cursor_invisible]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_zero_width_sequences_matched_by_pattern[\x1b[?25h-cursor_normal]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_zero_width_sequences_matched_by_pattern[\x1b[?12;25h-cursor_visible]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_zero_width_sequences_matched_by_pattern[\x1b(0-enter_alt_charset_mode]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_zero_width_sequences_matched_by_pattern[\x1b[5m-enter_blink_mode]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_zero_width_sequences_matched_by_pattern[\x1b[1m-enter_bold_mode]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_zero_width_sequences_matched_by_pattern[\x1b[2m-enter_dim_mode]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_zero_width_sequences_matched_by_pattern[\x1b[3m-enter_italics_mode]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_zero_width_sequences_matched_by_pattern[\x1b[7m-enter_reverse_mode]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_zero_width_sequences_matched_by_pattern[\x1b[3m-enter_standout_mode]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_zero_width_sequences_matched_by_pattern[\x1b[4m-enter_underline_mode]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_zero_width_sequences_matched_by_pattern[\x1b(B-exit_alt_charset_mode]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_zero_width_sequences_matched_by_pattern[\x1b[m-exit_attribute_mode]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_zero_width_sequences_matched_by_pattern[\x1b[4l-exit_insert_mode]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_zero_width_sequences_matched_by_pattern[\x1b[23m-exit_italics_mode]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_zero_width_sequences_matched_by_pattern[\x1b[27m-exit_standout_mode]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_zero_width_sequences_matched_by_pattern[\x1b[24m-exit_underline_mode]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_zero_width_sequences_matched_by_pattern[\x1b[?5h\x1b[?5l-flash_screen_csi]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_zero_width_sequences_matched_by_pattern[\x1bg-flash_screen_visual_bell]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_zero_width_sequences_matched_by_pattern[\x1b>-keypad_local]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_zero_width_sequences_matched_by_pattern[\x1b=-keypad_xmit]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_zero_width_sequences_matched_by_pattern[\x1b[39;49m-orig_pair]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_zero_width_sequences_matched_by_pattern[\x1b7-save_cursor]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_zero_width_sequences_matched_by_pattern[\x1bH-set_tab]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_modern_sequences[\x1b_Gf=100,i=1;base64data\x1b\\hello-5-kitty_graphics_with_text]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_modern_sequences[\x1b_Ga=d\x07-0-kitty_graphics_delete]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_modern_sequences[\x1bP0;1;0q#0~-\x1b\\test-4-sixel_graphics_with_text]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_modern_sequences[\x1bP$q"p\x1b\\-0-decrqss_query]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_modern_sequences[\x1b^private\x1b\\text-4-pm_with_text]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_modern_sequences[\x1b]1337;SetMark\x07test-4-iterm2_setmark]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_modern_sequences[\x1b]1337;File=inline=1:base64\x07img-3-iterm2_inline_image]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_modern_sequences[\x1b]1337;CursorShape=1\x07-0-iterm2_cursor_shape]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_modern_sequences[\x1b]1337;CurrentDir=/home\x07-0-iterm2_currentdir]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_modern_sequences[\x1b]133;A\x07$ -2-shell_prompt_start]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_modern_sequences[\x1b]133;B\x07ls-2-shell_command_start]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_modern_sequences[\x1b]133;C\x07-0-shell_command_executed]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_modern_sequences[\x1b]133;D;0\x07-0-shell_command_finished]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_modern_sequences[\x1b]99;i=1:d=0;Hello\x1b\\-0-kitty_notification]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_modern_sequences[\x1b]5522;type=read\x07-0-kitty_clipboard_read]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_modern_sequences[\x1b]22;pointer\x07-0-kitty_pointer_shape]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_modern_sequences[\x1b]21;fg=?\x07-0-kitty_color_query]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_modern_sequences[\x1b]30001\x1b\\-0-kitty_color_push]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_modern_sequences[\x1b]30101\x1b\\-0-kitty_color_pop]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_default_ignorable_zero_width[12644-0]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_default_ignorable_zero_width[65440-0]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_default_ignorable_zero_width[8293-0]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_default_ignorable_zero_width[65520-0]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_default_ignorable_zero_width[65521-0]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_default_ignorable_zero_width[65528-0]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_default_ignorable_zero_width[917504-0]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_default_ignorable_zero_width[917506-0]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_default_ignorable_zero_width[917535-0]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_default_ignorable_zero_width[917632-0]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_default_ignorable_zero_width[917759-0]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_default_ignorable_zero_width[918000-0]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_default_ignorable_zero_width[921599-0]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_default_ignorable_exceptions[173-1]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_default_ignorable_exceptions[4447-2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_hangul_filler_zero_width

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_halfwidth_hangul_filler_zero_width

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_hangul_choseong_filler_exception

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_soft_hyphen_exception

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_fitzpatrick_modifier_after_emoji

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_fitzpatrick_modifier_standalone_width

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_width_regional_indicator_runs[\U0001f1e6-2-single]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_width_regional_indicator_runs[\U0001f1e6\U0001f1e7-2-flag_pair]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_width_regional_indicator_runs[\U0001f1e6\U0001f1e6-2-pair]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_width_regional_indicator_runs[\U0001f1e6\U0001f1e6\U0001f1e6-4-triple]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_width_regional_indicator_runs[\U0001f1e6\U0001f1e6\U0001f1e6\U0001f1e6-4-quadruple]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_width_regional_indicator_runs[\U0001f1e6\U0001f1e6\U0001f1e6\U0001f1e6\U0001f1e6-6-quintuple]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_width_regional_indicator_runs[\U0001f1e6a\U0001f1e7-5-separated]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_width_regional_indicator_runs[\U0001f1e6\ufe0f\U0001f1e7-4-vs16_separated]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_width_regional_indicator_runs[\U0001f1e6\ufe0e\U0001f1e7-4-vs15_separated]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_width_regional_indicator_runs[\U0001f1e6\u0903\U0001f1e7-4-mc_separated]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_fs_sequences_matched[\x1bc-ris]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_fs_sequences_matched[\x1bl-memory_lock]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_fs_sequences_matched[\x1bm-memory_unlock]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_fs_sequences_matched[\x1bn-ls2]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_fs_sequences_matched[\x1bo-ls3]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_fs_sequences_matched[\x1b|-ls3r]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_fs_sequences_matched[\x1b}-ls2r]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_fs_sequences_matched[\x1b~-ls1r]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_fp_sequences_matched[\x1b7-decsc]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_fp_sequences_matched[\x1b8-decrc]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_fp_sequences_matched[\x1b=-deckpam]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_fp_sequences_matched[\x1b>-deckpnm]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_fp_sequences_matched[\x1b0-fp_0]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_fp_sequences_matched[\x1b1-fp_1]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_fp_sequences_matched[\x1b9-fp_9]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_nf_sequences_matched[\x1b F-s7c1t]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_nf_sequences_matched[\x1b G-s8c1t]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_nf_sequences_matched[\x1b#3-decdhl_top]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_nf_sequences_matched[\x1b#4-decdhl_bottom]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_nf_sequences_matched[\x1b#5-decswl]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_nf_sequences_matched[\x1b#6-decdwl]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_nf_sequences_matched[\x1b#8-decaln]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_nf_sequences_matched[\x1b%G-utf8_designate]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_nf_sequences_matched[\x1b%@-iso2022_return]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_fs_sequence_embedded_in_text

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_nf_sequence_embedded_in_text

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_screen_title_sequences

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_ris_indeterminate

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_width_virama_conjunct_survives_control_codes[\u1039\x08A-2-backspace]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_width_virama_conjunct_survives_control_codes[\u1039\x0bA-2-vertical_tab]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_width_virama_conjunct_survives_control_codes[\u1039\rA-2-carriage_return]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_width_virama_conjunct_survives_control_codes[\u1039\x00A-2-nul]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_width_virama_conjunct_survives_control_codes[\u1039\x1b[0JA-2-erase_display]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_width_virama_conjunct_survives_control_codes[\u1039\tA-10-tab]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_width_unterminated_osc_consumes_esc_bracket[\x1b]-0-osc_intro]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_width_unterminated_osc_consumes_esc_bracket[\x1b]66;-3-osc66_intro]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_width_unterminated_osc_consumes_esc_bracket[a\x1b]66;-4-osc66_intro_prefix]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_width_unterminated_osc_consumes_esc_bracket[\x1b]66;X-4-osc66_intro_then_text]

@pytest.fixture(autouse=True)
    def _verify_extension_mode():
        """
        Assert the loaded implementation matches the WCWIDTH_PYTHON env var.
    
        In extension mode the C extension must be active; in Python mode it must not be, so a silently-
        failed C build is caught in CI.
        """
        # local
        import wcwidth
    
        if os.environ.get('WCWIDTH_PYTHON', ''):
            assert not wcwidth.HAS_C_EXTENSION, "C extension loaded in Python mode"
        else:
>           assert wcwidth.HAS_C_EXTENSION, "C extension not loaded in extension mode"
E           AssertionError: C extension not loaded in extension mode
E           assert False
E            +  where False = <module 'wcwidth' from '/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION

tests/conftest.py:27: AssertionError
ERROR: tests/test_width.py:test_width_unterminated_osc_consumes_esc_bracket[a\x1b]0;title-8-osc0_unterminated]
============================================================================
Testsuite summary
# TOTAL: 1755
# PASS: 0
# SKIP: 49
# XFAIL: 0
# FAIL: 0
# XPASS: 0
# ERROR: 1706

ERROR: Exit status is 1
DURATION: 5
