File: env.rst

package info (click to toggle)
testpath 0.3%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 200 kB
  • ctags: 131
  • sloc: python: 475; makefile: 156
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