Module ImportFrom alias ImportFrom alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias FunctionDef arguments args defaults kwarg body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assert UnaryOpNot NameLoad Assign NameStore Call AttributeLoad NameLoad attr With Call NameLoad NameLoad keyword NameLoad body Assert CompareEq NameLoad NameLoad Assert CompareEq NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Expr Call NameLoad keyword Dict keyword Dict keyword Dict decorator_list FunctionDef arguments args defaults body Expr Call NameLoad keyword Dict Str Str keyword TupleLoad keyword Dict Str Str decorator_list FunctionDef arguments args defaults body Expr Call NameLoad keyword Dict keyword ListLoad TupleLoad Str Str keyword Dict Str Str decorator_list FunctionDef arguments args defaults body Expr Call NameLoad keyword Dict Str Str keyword ListLoad TupleLoad Str Str keyword Dict Str Str decorator_list FunctionDef arguments args defaults body Expr Call NameLoad keyword Dict keyword ListLoad TupleLoad Str NameLoad keyword Dict decorator_list FunctionDef arguments args defaults body Expr Call NameLoad keyword Dict Str Str keyword ListLoad TupleLoad Str NameLoad keyword Dict decorator_list FunctionDef arguments args defaults body Expr Call NameLoad keyword Dict keyword ListLoad TupleLoad Str TupleLoad Str Call NameLoad Str keyword Dict Str Str decorator_list FunctionDef arguments args defaults body Expr Call NameLoad keyword Dict keyword ListLoad TupleLoad Str TupleLoad Str Call NameLoad Str keyword Str keyword Dict Str Str decorator_list FunctionDef arguments args defaults body Expr Call NameLoad keyword Dict Str Str keyword ListLoad TupleLoad Str TupleLoad Str Call NameLoad Str keyword Dict Str Str decorator_list FunctionDef arguments args defaults body Expr Call NameLoad keyword Dict Str Str keyword TupleLoad TupleLoad Str Str TupleLoad Str TupleLoad Str Call NameLoad Str keyword Dict Str Str Str Str decorator_list FunctionDef arguments args defaults body ClassDef bases NameLoad body Pass decorator_list Assign NameStore Dict With Call AttributeLoad NameLoad attr NameLoad body With Call NameLoad ListLoad TupleLoad Str Str keyword NameLoad body Raise Call NameLoad Assert CompareEq NameLoad Dict decorator_list FunctionDef arguments args defaults body With Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Dict Str Str keyword NameLoad body Assert CompareEq AttributeLoad NameLoad attr Dict Str Str With Call NameLoad ListLoad TupleLoad Str Str body Assert CompareEq AttributeLoad NameLoad attr Dict Str Str Str Str Assert CompareEq AttributeLoad NameLoad attr Dict Str Str decorator_list
N/A __future__ absolute_import __future__ unicode_literals N/A os N/A mock N/A pytest pre_commit.envcontext envcontext pre_commit.envcontext UNSET pre_commit.envcontext Var _test N/A N/A N/A kwargs N/A N/A before N/A N/A kwargs pop before N/A patch N/A N/A kwargs pop patch N/A expected N/A N/A kwargs pop expected N/A N/A kwargs N/A env N/A N/A before copy N/A N/A envcontext patch _env env N/A N/A N/A env expected N/A N/A env before N/A test_trivial N/A N/A N/A N/A N/A N/A _test before N/A patch N/A expected N/A N/A test_noop N/A N/A N/A N/A N/A N/A _test before N/A foo bar patch N/A expected N/A foo bar N/A test_adds N/A N/A N/A N/A N/A N/A _test before N/A patch N/A N/A foo bar expected N/A foo bar N/A test_overrides N/A N/A N/A N/A N/A N/A _test before N/A foo baz patch N/A N/A foo bar expected N/A foo bar N/A test_unset_but_nothing_to_unset N/A N/A N/A N/A N/A N/A _test before N/A patch N/A N/A foo UNSET expected N/A N/A test_unset_things_to_remove N/A N/A N/A N/A N/A N/A _test before N/A PYTHONHOME patch N/A N/A PYTHONHOME UNSET expected N/A N/A test_templated_environment_variable_missing N/A N/A N/A N/A N/A N/A _test before N/A patch N/A N/A PATH N/A ~/bin: N/A Var PATH expected N/A PATH ~/bin: N/A test_templated_environment_variable_defaults N/A N/A N/A N/A N/A N/A _test before N/A patch N/A N/A PATH N/A ~/bin: N/A Var PATH default /bin expected N/A PATH ~/bin:/bin N/A test_templated_environment_variable_there N/A N/A N/A N/A N/A N/A _test before N/A PATH /usr/local/bin:/usr/bin patch N/A N/A PATH N/A ~/bin: N/A Var PATH expected N/A PATH ~/bin:/usr/local/bin:/usr/bin N/A test_templated_environ_sources_from_previous N/A N/A N/A N/A N/A N/A _test before N/A foo bar patch N/A N/A foo baz N/A herp N/A foo:  N/A Var foo expected N/A foo herp baz foo: bar N/A test_exception_safety N/A N/A N/A N/A MyError N/A RuntimeError N/A N/A N/A N/A env N/A N/A N/A N/A pytest raises MyError N/A N/A N/A envcontext N/A N/A foo bar _env env N/A N/A N/A MyError N/A N/A env N/A N/A test_integration_os_environ N/A N/A N/A N/A N/A N/A N/A N/A mock patch dict N/A os environ N/A FOO bar clear True N/A N/A N/A N/A os environ N/A FOO bar N/A N/A envcontext N/A N/A HERP derp N/A N/A N/A N/A os environ N/A FOO HERP bar derp N/A N/A N/A os environ N/A FOO bar N/A