From 94a749c1160f0006944185a4d237e8bc381daedf Mon Sep 17 00:00:00 2001 From: Oliver Sanders Date: Tue, 28 Nov 2023 10:48:40 +0000 Subject: [PATCH] tests: redact TZ environment variable * Setting the TZ env var within a Python session doesn't work as intended. * We'll add a TZ offset in CI in the near future. --- pytest.ini | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pytest.ini b/pytest.ini index 81df3785cec..f45af77f6e5 100644 --- a/pytest.ini +++ b/pytest.ini @@ -34,11 +34,12 @@ testpaths = tests/integration/ env = # a weird timezone to check that tests aren't assuming the local timezone - TZ=XXX-09:35 + # Note: this doesn't work properly with pytest-xdist + # TZ=XXX-09:35 doctest_optionflags = NORMALIZE_WHITESPACE IGNORE_EXCEPTION_DETAIL ELLIPSIS asyncio_mode = auto markers= - linkcheck: Test links \ No newline at end of file + linkcheck: Test links