Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
yurivict opened this issue Sep 24, 2021 · 2 comments
Open

Comments

@yurivict
Copy link

  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

@kokke
Copy link
Owner

kokke commented Dec 20, 2021

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
Copy link
Owner

kokke commented Dec 22, 2021

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 😉 😃

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants