Skip to content

Commit

Permalink
tests: redact TZ environment variable
Browse files Browse the repository at this point in the history
* 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.
  • Loading branch information
oliver-sanders committed Nov 28, 2023
1 parent e0cc4cb commit 94a749c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pytest.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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
linkcheck: Test links

0 comments on commit 94a749c

Please sign in to comment.