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

Test failure with Python 3.11 #27

Open
fabaff opened this issue Jan 27, 2023 · 0 comments
Open

Test failure with Python 3.11 #27

fabaff opened this issue Jan 27, 2023 · 0 comments

Comments

@fabaff
Copy link

fabaff commented Jan 27, 2023

The build process of aenum for nixpkgs fails on Python 3.11 while it works on Python 3.10.

running install tests
.....................................................................................................................................................................................................................................E................................F....................................................................................................................................................................................
======================================================================
ERROR: test_stdlib_inheritence (aenum.test_v3.TestEnumV3.test_stdlib_inheritence)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/nix/store/4aps5crh9miyrkxvxs8z3p51iy9i6mh0-python3.11-aenum-3.1.11/lib/python3.11/site-packages/aenum/test_v3.py", line 91, in test_stdlib_inheritence
    class AStrEnum(StrFlag):
                   ^^^^^^^
NameError: name 'StrFlag' is not defined

======================================================================
FAIL: test_extend_flag_backwards_stdlib (aenum.test_v3.TestExtendEnumV3.test_extend_flag_backwards_stdlib)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/nix/store/4aps5crh9miyrkxvxs8z3p51iy9i6mh0-python3.11-aenum-3.1.11/lib/python3.11/site-packages/aenum/test_v3.py", line 1899, in test_extend_flag_backwards_stdlib
    self.assertTrue(Color(16) is Color.MAGENTA)
AssertionError: False is not true

----------------------------------------------------------------------
Ran 443 tests in 0.594s

FAILED (failures=1, errors=1)
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

1 participant