Skip to content

recent Python breaks test "test_parse_ni_uri" #3

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

Open
mr-c opened this issue Oct 6, 2024 · 0 comments · May be fixed by #4
Open

recent Python breaks test "test_parse_ni_uri" #3

mr-c opened this issue Oct 6, 2024 · 0 comments · May be fixed by #4

Comments

@mr-c
Copy link

mr-c commented Oct 6, 2024

Probably due to python/cpython#67693 which was backported to Python 3.8.20, 3.9.20, 3.10.15, 3.11.10, and 3.12.6

_________________________ TestParse.test_parse_ni_uri __________________________

self = <tests.test_parse.TestParse testMethod=test_parse_ni_uri>

    def test_parse_ni_uri(self):
>       self.assertEqual("ni:///sha-256;f4OxZX_x_FO5LcGBSKHWXfwtSx-j1ncoSt3SABJtkGk",
             parse.parse_arcp("arcp://ni,sha-256;f4OxZX_x_FO5LcGBSKHWXfwtSx-j1ncoSt3SABJtkGk/")
                .ni_uri())
E       AssertionError: 'ni:///sha-256;f4OxZX_x_FO5LcGBSKHWXfwtSx-j1ncoSt3SABJtkGk' != 'ni:sha-256;f4OxZX_x_FO5LcGBSKHWXfwtSx-j1ncoSt3SABJtkGk'
E       - ni:///sha-256;f4OxZX_x_FO5LcGBSKHWXfwtSx-j1ncoSt3SABJtkGk
E       ?    ---
E       + ni:sha-256;f4OxZX_x_FO5LcGBSKHWXfwtSx-j1ncoSt3SABJtkGk

tests/test_parse.py:169: AssertionError

Full log: https://people.debian.org/~sanvila/build-logs/202409/arcp_0.2.1-6_amd64-20240915T143933.090Z

@mr-c mr-c linked a pull request Dec 11, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant