3.46.0: test suite fails in tests/test_atoms.py::TestGdkAtom::test_in_array unit
Here is test suite output:
+ cd pygobject-3.46.0
+ dbus-run-session -- xvfb-run -a /usr/bin/meson test -C x86_64-redhat-linux-gnu --num-processes 48 --print-errorlogs
ninja: Entering directory `/home/tkloczko/rpmbuild/BUILD/pygobject-3.46.0/x86_64-redhat-linux-gnu'
ninja: no work to do.
1/1 pygobject-test-suite FAIL 8.62s exit status 1
>>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 LD_LIBRARY_PATH=/home/tkloczko/rpmbuild/BUILD/pygobject-3.46.0/x86_64-redhat-linux-gnu/tests MALLOC_PERTURB_=173 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 GI_TYPELIB_PATH=/home/tkloczko/rpmbuild/BUILD/pygobject-3.46.0/x86_64-redhat-linux-gnu/tests PYTHONPATH=/home/tkloczko/rpmbuild/BUILD/pygobject-3.46.0/x86_64-redhat-linux-gnu/tests/..:/home/tkloczko/rpmbuild/BUILD/pygobject-3.46.0/x86_64-redhat-linux-gnu/subprojects/pycairo TESTS_BUILDDIR=/home/tkloczko/rpmbuild/BUILD/pygobject-3.46.0/x86_64-redhat-linux-gnu/tests /usr/bin/python3 /home/tkloczko/rpmbuild/BUILD/pygobject-3.46.0/tests/runtests.py
――――――――――――――――――――――――――――――――――――― ✀ ―――――――――――――――――――――――――――――――――――――
============================= test session starts ==============================
platform linux -- Python 3.8.18, pytest-8.0.0, pluggy-1.3.0
rootdir: /home/tkloczko/rpmbuild/BUILD/pygobject-3.46.0
collected 1482 items
../tests/test_atoms.py .F..... [ 0%]
../tests/test_cairo.py .............................. [ 2%]
../tests/test_docstring.py ................x. [ 3%]
../tests/test_error.py ............... [ 4%]
../tests/test_everything.py ......................x..................... [ 7%]
........................................................................ [ 12%]
........... [ 13%]
../tests/test_fields.py ................ [ 14%]
../tests/test_gdbus.py ............ [ 15%]
../tests/test_generictreemodel.py ................... [ 16%]
../tests/test_gi.py .................................................... [ 19%]
..........................................................s............. [ 24%]
........................................................................ [ 29%]
...................................s..ss.....s...........s.............. [ 34%]
........................................................................ [ 39%]
............................................................x........... [ 44%]
................. [ 45%]
../tests/test_gio.py ..................... [ 46%]
../tests/test_glib.py ................x.... [ 48%]
../tests/test_gobject.py ............................................... [ 51%]
...... [ 51%]
../tests/test_gtk_template.py ...................... [ 53%]
../tests/test_gtype.py ................ [ 54%]
../tests/test_gtype_instance.py . [ 54%]
../tests/test_import_machinery.py ............ [ 55%]
../tests/test_interface.py .. [ 55%]
../tests/test_internal_api.py ............. [ 56%]
../tests/test_iochannel.py ................... [ 57%]
../tests/test_mainloop.py .. [ 57%]
../tests/test_object_marshaling.py ............................ [ 59%]
../tests/test_option.py .......... [ 60%]
../tests/test_ossig.py .......... [ 60%]
../tests/test_overrides_gdk.py ........s.......s...s.. [ 62%]
../tests/test_overrides_gdkpixbuf.py .. [ 62%]
../tests/test_overrides_gio.py ............. [ 63%]
../tests/test_overrides_glib.py .s......s...................... [ 65%]
../tests/test_overrides_gobject.py ......................... [ 67%]
../tests/test_overrides_gtk.py ...................................s..... [ 70%]
ss..s....s.x..........ss................................................ [ 74%]
....... [ 75%]
../tests/test_overrides_pango.py ....... [ 75%]
../tests/test_properties.py ............................................ [ 78%]
............x...........................x...................... [ 83%]
../tests/test_pycapi.py . [ 83%]
../tests/test_pygtkcompat.py .................................. [ 85%]
../tests/test_repository.py ........................... [ 87%]
../tests/test_resulttuple.py ........ [ 87%]
../tests/test_signal.py ................x................x.............. [ 91%]
..........................................s............................. [ 95%]
.......x....x.. [ 96%]
../tests/test_source.py ......................... [ 98%]
../tests/test_subprocess.py ..x........ [ 99%]
../tests/test_thread.py . [ 99%]
../tests/test_typeclass.py ...... [ 99%]
../tests/test_unknown.py ... [100%]
=================================== FAILURES ===================================
__________________________ TestGdkAtom.test_in_array ___________________________
self = <tests.test_atoms.TestGdkAtom testMethod=test_in_array>
def test_in_array(self):
a_plain = Gdk.Atom.intern('text/plain', False)
a_html = Gdk.Atom.intern('text/html', False)
a_jpeg = Gdk.Atom.intern('image/jpeg', False)
self.assertFalse(Gtk.targets_include_text([]))
self.assertTrue(Gtk.targets_include_text([a_plain, a_html]))
self.assertFalse(Gtk.targets_include_text([a_jpeg]))
self.assertTrue(Gtk.targets_include_text([a_jpeg, a_plain]))
self.assertFalse(Gtk.targets_include_image([], False))
self.assertFalse(Gtk.targets_include_image([a_plain, a_html], False))
> self.assertTrue(Gtk.targets_include_image([a_jpeg], False))
E AssertionError: False is not true
../tests/test_atoms.py:67: AssertionError
=============================== warnings summary ===============================
tests/test_overrides_gdkpixbuf.py::test_new_from_data_deprecated_args
/home/tkloczko/rpmbuild/BUILD/pygobject-3.46.0/gi/overrides/GdkPixbuf.py:42: PyGIDeprecationWarning: destroy_fn argument deprecated
warnings.warn(w)
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED ../tests/test_atoms.py::TestGdkAtom::test_in_array - AssertionError: F...
====== 1 failed, 1450 passed, 19 skipped, 12 xfailed, 1 warning in 8.13s =======
――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
Summary of Failures:
1/1 pygobject-test-suite FAIL 8.62s exit status 1
Ok: 0
Expected Fail: 0
Fail: 1
Unexpected Pass: 0
Skipped: 0
Timeout: 0
Full log written to /home/tkloczko/rpmbuild/BUILD/pygobject-3.46.0/x86_64-redhat-linux-gnu/meson-logs/testlog.txt