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_sort test failure #255

Open
Apteryks opened this issue Nov 29, 2024 · 0 comments
Open

test_sort test failure #255

Apteryks opened this issue Nov 29, 2024 · 0 comments

Comments

@Apteryks
Copy link

Apteryks commented Nov 29, 2024

Hi,

Testing version 8.4.1, I get this failure:

=================================== FAILURES ===================================
__________________________________ test_sort ___________________________________

parse_options = <function parse_options at 0x7ffff62dac20>

    def test_sort(parse_options):
        from pylama.core import run
    
        options = parse_options()
        options.sort = {'C': 1, 'D': 2}
        errors = run('dummy.py', options=options)
>       assert errors[0].etype == 'C'
E       AssertionError: assert 'D' == 'C'
E         
E         - C
E         + D

tests/test_shell.py:20: AssertionError
=========================== short test summary info ============================
FAILED tests/test_shell.py::test_sort - AssertionError: assert 'D' == 'C'
  
  - C
  + D
!!!!!!!!!!!!!!!!!!!!!!!!!! stopping after 1 failures !!!!!!!!!!!!!!!!!!!!!!!!!!!
================== 1 failed, 26 passed, 2 deselected in 2.54s ==================

I'm using Python 3.10 and these inputs:

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