diff options
author | Elliott Sales de Andrade <quantum.analyst@gmail.com> | 2018-09-06 04:31:26 -0400 |
---|---|---|
committer | Elliott Sales de Andrade <quantum.analyst@gmail.com> | 2018-09-06 04:36:36 -0400 |
commit | 6af54ed12b21b34eb6b8d5ccf0b92a3534d8c0f2 (patch) | |
tree | 23782a245882dc44585d2474f8c272cc6ada56ac /numpy/core/arrayprint.py | |
parent | dbd2b06ae9ee6942d4f0064641acd0ce55070dfe (diff) | |
download | numpy-6af54ed12b21b34eb6b8d5ccf0b92a3534d8c0f2.tar.gz |
TST: Parametrize some linalg tests over types.
When code does:
```python
def test():
def check(dtype):
# code
for dtype in [types]:
check(dtype)
```
replace it with:
```python
@pytest.mark.parametrize('dtype', [types])
def test(dtype):
# code
```
Diffstat (limited to 'numpy/core/arrayprint.py')
0 files changed, 0 insertions, 0 deletions