mirror of
https://github.com/beetbox/beets.git
synced 2026-01-01 21:42:48 +01:00
Using the correct function signature for g_file_new_for_path fixes the
tests on s390x.
I do not have the full story on why this failed consistently only on
s390x, but I guess the big endian might have something to play with
this.
Here is how the tests were failing:
```
169s ___________________________ ThumbnailsTest.test_uri ____________________________
169s
169s self = <test.plugins.test_thumbnails.ThumbnailsTest testMethod=test_uri>
169s
169s def test_uri(self):
169s gio = GioURI()
169s if not gio.available:
169s self.skipTest("GIO library not found")
169s
169s > assert gio.uri("/foo") == "file:///" # silent fail
169s E AssertionError: assert '' == 'file:///'
169s E
169s E - file:///
169s
169s test/plugins/test_thumbnails.py:268: AssertionError
```
You can see a full log here [1] and a history of consistent failure
here [2]. Both links are bound to expire at some point, sorry future
archeologist 🤷.
[1]: https://autopkgtest.ubuntu.com/results/autopkgtest-plucky/plucky/s390x/b/beets/20250403_162414_5d1da@/log.gz#S5
[2]: https://autopkgtest.ubuntu.com/packages/beets/plucky/s390x
|
||
|---|---|---|
| .. | ||
| __init__.py | ||
| lyrics_pages.py | ||
| test_acousticbrainz.py | ||
| test_advancedrewrite.py | ||
| test_albumtypes.py | ||
| test_art.py | ||
| test_aura.py | ||
| test_autobpm.py | ||
| test_bareasc.py | ||
| test_beatport.py | ||
| test_bucket.py | ||
| test_convert.py | ||
| test_discogs.py | ||
| test_edit.py | ||
| test_embedart.py | ||
| test_embyupdate.py | ||
| test_export.py | ||
| test_fetchart.py | ||
| test_filefilter.py | ||
| test_ftintitle.py | ||
| test_hook.py | ||
| test_ihate.py | ||
| test_importadded.py | ||
| test_importfeeds.py | ||
| test_info.py | ||
| test_ipfs.py | ||
| test_keyfinder.py | ||
| test_lastgenre.py | ||
| test_limit.py | ||
| test_lyrics.py | ||
| test_mbsubmit.py | ||
| test_mbsync.py | ||
| test_mpdstats.py | ||
| test_parentwork.py | ||
| test_permissions.py | ||
| test_play.py | ||
| test_player.py | ||
| test_playlist.py | ||
| test_plexupdate.py | ||
| test_plugin_mediafield.py | ||
| test_random.py | ||
| test_replaygain.py | ||
| test_smartplaylist.py | ||
| test_spotify.py | ||
| test_subsonicupdate.py | ||
| test_substitute.py | ||
| test_the.py | ||
| test_thumbnails.py | ||
| test_types_plugin.py | ||
| test_web.py | ||
| test_zero.py | ||