google-deepmind / google-deepmind/chex

Example of chex.variants with pytest

Open
#382 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
957
Forks
74
Avg merge
21h 10m
Merged PRs (30d)
1

Description

Hi,

How would someone use chex.variants for a pytest function like this?

```
@pytest.mark.parametrize(
"n",
[
1,2,3
],
)
def test_example(n: int) -> None:
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.