Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

libtmux.pytest_plugin.clear_env

Python
  • Python
  • Ruby Unavailable
  • Lua Unavailable
  • TypeScript Unavailable
  • Rust Unavailable
  • Go Unavailable
  • Java Unavailable
  • .NET Unavailable
  • C++ Unavailable
  • Swift Unavailable

View as Markdown

Module
libtmux.pytest_plugin
Package
libtmux
Source
src/libtmux/pytest_plugin.py
clear_env ( monkeypatch : pytest.MonkeyPatch ) → None
function [source]
function [source]
clear_env

Clear out any unnecessary environment variables that could interrupt tests.

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

0 declared, 0 inherited

Esc

Type to search.