AIM-PIbd-32-Kurbanova-A-A/aimenv/Lib/site-packages/pandas/tests/util/test_numba.py

13 lines
308 B
Python
Raw Normal View History

2024-10-02 22:15:59 +04:00
import pytest
import pandas.util._test_decorators as td
from pandas import option_context
@td.skip_if_installed("numba")
def test_numba_not_installed_option_context():
with pytest.raises(ImportError, match="Missing optional"):
with option_context("compute.use_numba", True):
pass