(self, t)
| 125 | |
| 126 | @pytest.mark.parametrize('t', cfloat_types) |
| 127 | def test_complex_errors(self, t): |
| 128 | with pytest.raises(TypeError): |
| 129 | t(1j, 1j) |
| 130 | with pytest.raises(TypeError): |
| 131 | t(1, None) |
| 132 | with pytest.raises(TypeError): |
| 133 | t(None, 1) |
| 134 | |
| 135 | |
| 136 | @pytest.mark.parametrize("length", |