Core Library0.xAPI Reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

function libtmux latest

clear_env

Clear out any unnecessary environment variables that could interrupt tests.

Source and package
Qualified name
libtmux.pytest_plugin.clear_env
Module
libtmux.pytest_plugin
Package
libtmux
Source
src/libtmux/pytest_plugin.py
clear_env (monkeypatch: pytest.MonkeyPatch) → None

Description#

tmux show-environment tests were being interrupted due to a lot of crazy env vars.

Parameters
Esc

Type to search.

Reference previewOpen reference