

def test_rc_ignore():
    with named_temporary_file(mode='w') as pexrc:
        pexrc.write('HELLO=FORTYTWO')
        pexrc.flush()
        v = Variables(environ={
            'PEX_IGNORE_RCFILES': 'True',
        }, rc=v.name)
        assert ('HELLO' not in v._environ)

dataset/ETHPy150Open pantsbuild/pex/tests/test_variables.py test_rc_ignore/VarMisuse@51/81 `pexrc`->`v`