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 on Python 3.8 and 3.9 #90

Closed
FuzzyGophers opened this issue Aug 1, 2020 · 1 comment
Closed

Tests fail on Python 3.8 and 3.9 #90

FuzzyGophers opened this issue Aug 1, 2020 · 1 comment

Comments

@FuzzyGophers
Copy link

ctypesgen builds fine on py3.8 and py3.9, but the tests fail:

OK

  • python3_8: running distutils-r1_run_phase python_test
    ....................................../var/tmp/portage/dev-python/ctypesgen-1.0.2/work/ctypesgen-ctypesgen-1.0.2/ctypesgen/test/../../temp.py:2861: SyntaxWarning: 'NoneType' object is not callable; perhaps you missed a comma?
    return (None (ord_if_char((((__FDS_BITS (set)) [(__FD_ELT (d))]) | (__FD_MASK (d)))))).value
    /var/tmp/portage/dev-python/ctypesgen-1.0.2/work/ctypesgen-ctypesgen-1.0.2/ctypesgen/test/../../temp.py:2865: SyntaxWarning: 'NoneType' object is not callable; perhaps you missed a comma?
    return (None (ord_if_char((((__FDS_BITS (set)) [(__FD_ELT (d))]) & ((__FD_MASK (d))))))).value
    ./var/tmp/portage/dev-python/ctypesgen-1.0.2/work/ctypesgen-ctypesgen-1.0.2/ctypesgen/test/../../temp.py:2861: SyntaxWarning: 'NoneType' object is not callable; perhaps you missed a comma?
    return (None (ord_if_char((((__FDS_BITS (set)) [(__FD_ELT (d))]) | (__FD_MASK (d)))))).value
    /var/tmp/portage/dev-python/ctypesgen-1.0.2/work/ctypesgen-ctypesgen-1.0.2/ctypesgen/test/../../temp.py:2865: SyntaxWarning: 'NoneType' object is not callable; perhaps you missed a comma?
    return (None (ord_if_char((((__FDS_BITS (set)) [(__FD_ELT (d))]) & (
    (__FD_MASK (d))))))).value
    .......

Ran 46 tests in 7.567s

[same for 3.9]

@Alan-R
Copy link
Collaborator

Alan-R commented Aug 1, 2021

The version in source control currently passes tests on 2.7, 3.7, 3.8 and 3.9. Please check that version and reopen this if it is still failing for you.

@Alan-R Alan-R closed this as completed Aug 1, 2021
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