diff --git a/.coveragerc b/.coveragerc index 7c7502e..f338589 100644 --- a/.coveragerc +++ b/.coveragerc @@ -5,3 +5,7 @@ exclude_also = # Don't complain if non-runnable code isn't run: if TYPE_CHECKING: + +[run] +disable_warnings = + no-sysmon diff --git a/pyproject.toml b/pyproject.toml index e1674c3..0d785ef 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -105,8 +105,6 @@ filterwarnings = [ "error", # https://github.com/dateutil/dateutil/issues/1314 "ignore:datetime.datetime.utcfromtimestamp:DeprecationWarning:dateutil.tz.tz", - # Python <= 3.11 - "ignore:sys.monitoring isn't available, using default core:coverage.exceptions.CoverageWarning", ] testpaths = [ "tests" ]