File: env.rst

package info (click to toggle)
testpath 0.6.0%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 216 kB
  • sloc: python: 509; makefile: 151; sh: 2
file content (13 lines) | stat: -rw-r--r-- 338 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
Modifying environment variables
===============================

These functions allow you to temporarily modify the environment variables, which
is often useful for testing code that calls other processes.

.. currentmodule:: testpath

.. autofunction:: modified_env

.. autofunction:: temporary_env

.. autofunction:: make_env_restorer