From d393284d9793ac9e61b033819478059cc2c0a934 Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Wed, 1 Nov 2023 15:47:56 -0400 Subject: [PATCH] chore: tracemalloc for nox Signed-off-by: Henry Schreiner --- noxfile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/noxfile.py b/noxfile.py index e83d0409..9fa05b4e 100644 --- a/noxfile.py +++ b/noxfile.py @@ -32,7 +32,7 @@ def tests(session): Run the unit and regular tests. """ session.install("-e", ".[dev]") - session.run("pytest", *session.posargs) + session.run("pytest", *session.posargs, env={"PYTHONTRACEMALLOC": "5"}) @nox.session(reuse_venv=True)