Skip to content

Commit

Permalink
temporarily disable python-efficiency tetsts for new PyROOT/cppyy
Browse files Browse the repository at this point in the history
  • Loading branch information
VanyaBelyaev committed Apr 2, 2024
1 parent b78d062 commit d2897ac
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions ostap/fitting/tests/test_fitting_efficiency2.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
__author__ = "Ostap developers"
__all__ = () ## nothing to import
# =============================================================================
from builtins import range
from builtins import range
from ostap.core.meta_info import root_info
import ostap.fitting.roofit
import ostap.fitting.models as Models
from ostap.core.core import cpp, VE, dsID, Ostap, rooSilent
Expand Down Expand Up @@ -160,9 +161,9 @@ def test_pyVAR () :
logger = getLogger("test_pyVAR")

if not old_PyROOT :
logger.warning ("test is enabled only for *OLD* PyROOT!")
return
logger.warning ("test is enabled only for *(very)OLD* PyROOT!")
return

from ostap.fitting.pyvar import PyVAR

# =========================================================================
Expand Down Expand Up @@ -227,6 +228,10 @@ def test_pyVAR2 () :

logger = getLogger("test_pyVAR2")

if (6,31) <= root_info :
logger.warning ( 'Test is TEMPORARILY disabled for %s' % ROOT.gROOT.GetVersion() )
return

from ostap.fitting.pyvar import PyVAR2

myEff3 = PyVAR2 ( name = 'myEff3' , vars = vars , function = eff )
Expand Down Expand Up @@ -276,6 +281,10 @@ def test_pyVar () :
if old_PyROOT :
logger.warning ("test is enabled only for *NEW* PyROOT!")
return

if (6,31) <= root_info :
logger.warning ( 'Test is TEMPORARILY disabled for %s' % ROOT.gROOT.GetVersion() )
return

# =========================================================================
## @class MyEff4
Expand Down

0 comments on commit d2897ac

Please sign in to comment.