Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 935682 - dev-python/agate-1.11.0: fails test tests/test_py3.py::TestSniffer::test_sniffer
Summary: dev-python/agate-1.11.0: fails test tests/test_py3.py::TestSniffer::test_sniffer
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Zac Medico
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2024-07-07 00:06 UTC by Jonathan Lovelace
Modified: 2024-07-07 23:36 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
dev-python:agate-1.11.0:20240706-232320.log (dev-python:agate-1.11.0:20240706-232320.log,124.81 KB, text/plain; charset=utf-8)
2024-07-07 00:06 UTC, Jonathan Lovelace
Details
emerge-info.txt (emerge-info.txt,9.12 KB, text/plain; charset=utf-8)
2024-07-07 00:06 UTC, Jonathan Lovelace
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Lovelace 2024-07-07 00:06:35 UTC
Created attachment 897240 [details]
dev-python:agate-1.11.0:20240706-232320.log

On one machine, while trying to build it as part of the Python 3.12 transition, =dev-python/agate-1.11.0 fails its test suite. (On my other machine, the package seems to have built, passed its tests, and installed without error.) Specifically, the test tests/test_py3.py::TestSniffer::test_sniffer fails, with the following assertion error:

AssertionError: mappingproxy({}) != mappingproxy({'__module__': 'csv', '_name': 'sniffed', [137 chars]lse}) : mappingproxy({}) != mappingproxy({'__module__': 'csv',
 '_name': 'sniffed', 'lineterminator': '\r\n', 'quoting': 0, '__doc__': None, 'doublequote': False, 'delimiter': ',', 'quotechar': '"', 'skipinitialspace': False})
Comment 1 Jonathan Lovelace 2024-07-07 00:06:54 UTC
Created attachment 897241 [details]
emerge-info.txt
Comment 2 Zac Medico gentoo-dev 2024-07-07 23:36:08 UTC
I got the same error when I tried to run the tests just now.