semvec/pypi-packages huggingface dataset:
pytest-pyvenv 0.2.4
A package for create venv in tests

# Pytest-pyvenv

This is a simple plugin for [pytest](https://docs.pytest.org/) that allows you to create a virtual environment inside the tests.

## Installation

### From PyPI

```bash
pip install pytest-pyvenv
```

### From Source

```bash
pip install git+https://github.com/msinamsina/pytest-pyvenv.git
```


## Usage

```python

def test_env(pyvenv):
    pyvenv.install_package('pytest-pyvenv')
    pyvenv.run('mkdir -p tests')
```

## Contributing

Pull requests are welcome. For major changes, please open an issue 
first to discuss what you would like to change.