Skip to content

Commit

Permalink
Numpy no longer supports floordiv on complex for python 3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
serge-sans-paille committed Jan 1, 2022
1 parent 745b4a0 commit 2dcd9b1
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions pythran/tests/test_complex.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,6 @@ def test_complex_array_abs(self):
np.array([[3 + 2j]]),
test_complex_array_abs=[NDArray[complex, :, :]])

def test_complex_floordiv(self):
self.run_test('def complex_floordiv(x): import numpy as np; return np.floor_divide(x, 2 + 2j)',
3.5 - 3.5j,
complex_floordiv=[complex])

def test_complex_array_sqr(self):
self.run_test('def test_complex_array_sqr(a): return a ** 2',
np.array([[3 + 2j]]),
Expand Down

0 comments on commit 2dcd9b1

Please sign in to comment.