Ignoring an error during test collection in pytest CI in pyproject.toml #13785
-
| Error in question skops uses pyproject.toml to ignore warnings and raises some warnings as errors and this works for others, but for this one I am not sure why any of these does not work tried optionsThe section in pyproject.toml where I use tried all of the above options: [tool.pytest.ini_options]
doctest_optionflags = "NORMALIZE_WHITESPACE ELLIPSIS"
filterwarnings = [
    "error::DeprecationWarning",
    "error::FutureWarning",
    "ignore:DataFrameGroupBy.apply operated on the grouping columns.:DeprecationWarning",
] | 
Beta Was this translation helpful? Give feedback.
      
      
          Answered by
          
            divakaivan
          
      
      
        Oct 3, 2025 
      
    
    Replies: 1 comment
-
| I didnt notice when I added an ignore for  | 
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
      Answer selected by
        divakaivan
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
I didnt notice when I added an ignore for
PassiveAggressiveClassifier, the error now came fromPassiveAggressiveRegressor... so an ignore for both is needed.