From 4b6ad185d4656b4ea7109cd38ef3f40ad17e0566 Mon Sep 17 00:00:00 2001 From: Kurt McKee Date: Thu, 27 Jun 2024 02:54:36 -0500 Subject: [PATCH] Enable all Python warnings in the test suite (#638) --- tox.ini | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index c6d855ca..9c2ee64c 100644 --- a/tox.ini +++ b/tox.ini @@ -5,18 +5,22 @@ envlist= lint [testenv] +setenv = + PYTHONTRACEMALLOC=1 extras= dev commands= - py.test --benchmark-skip {posargs} + python -Wall -m pytest --benchmark-skip {posargs} passenv= TRAVIS [testenv:py{38,39,310,311,312}-gevent] +setenv = + PYTHONTRACEMALLOC=1 extras= dev commands= - python {toxinidir}/pytest-gevent.py --benchmark-skip {posargs} + python -Wall {toxinidir}/pytest-gevent.py --benchmark-skip {posargs} passenv= TRAVIS