Coverage for /var/srv/projects/api.amasfac.comuna18.com/tmp/venv/lib/python3.9/site-packages/pandas/core/computation/check.py: 80%

8 statements  

« prev     ^ index     » next       coverage.py v6.4.4, created at 2023-07-17 14:22 -0600

1from __future__ import annotations 

2 

3from pandas.compat._optional import import_optional_dependency 

4 

5ne = import_optional_dependency("numexpr", errors="warn") 

6NUMEXPR_INSTALLED = ne is not None 

7if NUMEXPR_INSTALLED: 7 ↛ 8line 7 didn't jump to line 8, because the condition on line 7 was never true

8 NUMEXPR_VERSION = ne.__version__ 

9else: 

10 NUMEXPR_VERSION = None 

11 

12__all__ = ["NUMEXPR_INSTALLED", "NUMEXPR_VERSION"]