tiny-bignum-c icon indicating copy to clipboard operation
tiny-bignum-c copied to clipboard

Tests fail: TabError: inconsistent use of tabs and spaces in indentation

Open yurivict opened this issue 4 years ago • 2 comments

  File "./scripts/test_rand.py", line 123
    expected = int(math.sqrt(oper1));
                                    ^
TabError: inconsistent use of tabs and spaces in indentation
*** Error code 1

Python-3.8

yurivict avatar Sep 24 '21 09:09 yurivict

Hi @yurivict and thanks for reporting! It seem the Python-code is not Python3 compatible. It works with 2.7, but should probably be ported to 3.x (2.x was sunset in 2020 AFAIK).

kokke avatar Dec 20 '21 18:12 kokke

There are more than just this incompatibility I think - but it should be a fairly quick task to make the code python3-compatible.

I will give it a shot once I have the time, but if you (or anyone else) makes a PR with that, I'd be inclined to accept 😉 😃

kokke avatar Dec 22 '21 09:12 kokke