Commit 5c9f855
authored
fix test_digitize_error (#2204)
```python
with pytest.raises(TypeError):
dpnp.digitize(x_np, bins_dp)
dpnp.digitize(x_dp, bins_np) # <= unreachable line
```
```python
with pytest.raises(TypeError):
dpnp.digitize(x_np, bins_dp)
with pytest.raises(TypeError):
dpnp.digitize(x_dp, bins_np) # <= reachable line
```
- [x] Have you provided a meaningful PR description?
- [x] Have you added a test, reproducer or referred to issue with a
reproducer?
- [x] Have you tested your changes locally for CPU and GPU devices?
- [x] Have you made sure that new changes do not introduce compiler
warnings?
- [x] Have you checked performance impact of proposed changes?
- [x] If this PR is a work in progress, are you filing the PR as a
draft?1 parent 4e02172 commit 5c9f855
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
| 116 | + | |
116 | 117 | | |
117 | 118 | | |
118 | 119 | | |
| |||
0 commit comments