Skip to content

Better formatting of the deprecation warning about pipeline methods overrides and more accurate message #1263

@vkarak

Description

@vkarak

"reframe hooks" should be changed to "pipeline hooks" and we should consider coloring if possible.

/users/karakasv/Devel/reframe/cscs-checks/tools/profiling_and_debugging/notool.py:14: ReframeDeprecationWarning: 'JacobiNoToolHybrid.setup' attempts to override final method 'RegressionTest.setup'; consider using the reframe hooks instead
  class JacobiNoToolHybrid(rfm.RegressionTest):
/users/karakasv/Devel/reframe/cscs-checks/tools/profiling_and_debugging/ipm_mpi_omp.py:14: ReframeDeprecationWarning: 'Ipm.setup' attempts to override final method 'RegressionTest.setup'; consider using the reframe hooks instead
  class Ipm(rfm.RegressionTest):

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions