canonical / hotsos

Software analysis toolkit. Define checks in high-level language and leverage library to perform analysis of common Cloud applications.
Apache License 2.0
33 stars 38 forks source link

[unittest] Define addDuration method to support 3.12 #829

Closed pponnuvel closed 7 months ago

pponnuvel commented 7 months ago

Change: https://github.com/python/cpython/pull/12271/commits/d88087ea57f116d754b92c5189d75777f717f4ef

This essentially suppresses the warnings: RuntimeWarning: TestResult has no addDuration method\n warnings.warn("TestResult has no addDuration method")

xmkg commented 7 months ago

@pponnuvel the CI failure is unrelated to this MP, please rebase your MP after #834 is merged.

pponnuvel commented 7 months ago

@pponnuvel the CI failure is unrelated to this MP, please rebase your MP after #834 is merged.

Thanks, @mustafakemalgilor I was getting antsy on how adding a comment could trigger failures :)

xmkg commented 7 months ago

@pponnuvel the CI failure is unrelated to this MP, please rebase your MP after #834 is merged.

Thanks, @mustafakemalgilor I was getting antsy on how adding a comment could trigger failures :)

The CI works in mysterious ways ;)

xmkg commented 7 months ago

LGTM :+1: