Skip to content

PEP 0238 Fix in tests: division int/int -> int//int

Viacheslav Ostroukh requested to merge slavoutich/kwant:master into master

At some point automatic cast float->integer stops working in upstream Python/Numpy, therefore test_rmt fails in creation of arrays like np.identity(n / 2). We should migrate to exact integer division.

Merge request reports