<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/pygobject.git/tests/test_overrides_pango.py, branch pygobject-3-32</title>
<subtitle>gitlab.gnome.org: GNOME/pygobject.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/pygobject.git/'/>
<entry>
<title>overrides: add Pango.Layout.set_text() override. Fixes #259</title>
<updated>2018-09-22T19:58:15+00:00</updated>
<author>
<name>Christoph Reiter</name>
<email>reiter.christoph@gmail.com</email>
</author>
<published>2018-09-22T19:58:15+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/pygobject.git/commit/?id=020383f338c26760ef76502273f15f3ae91e83e7'/>
<id>020383f338c26760ef76502273f15f3ae91e83e7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: Make it possible to use pytest directly</title>
<updated>2018-02-11T23:25:28+00:00</updated>
<author>
<name>Christoph Reiter</name>
<email>reiter.christoph@gmail.com</email>
</author>
<published>2018-02-11T17:08:07+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/pygobject.git/commit/?id=5a25c98cb6d387791e41c7dc240c55814988519a'/>
<id>5a25c98cb6d387791e41c7dc240c55814988519a</id>
<content type='text'>
pytest will just import the files passed to it and try to run tests.
Since we need to run some setup code convert the tests directory to
a Python package and do the initialization in __init__.py. This makes
the init code (env vars, typelib search path, dbus) always run when
something from the package gets imported.

    python3 setup.py build_tests  # build pygobject and tests
    py.test-3 tests/test_gi.py  # run tests in test_gi.py only
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
pytest will just import the files passed to it and try to run tests.
Since we need to run some setup code convert the tests directory to
a Python package and do the initialization in __init__.py. This makes
the init code (env vars, typelib search path, dbus) always run when
something from the package gets imported.

    python3 setup.py build_tests  # build pygobject and tests
    py.test-3 tests/test_gi.py  # run tests in test_gi.py only
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: always call require_version; add TEST_GTK_VERSION env var</title>
<updated>2017-04-02T11:17:36+00:00</updated>
<author>
<name>Christoph Reiter</name>
<email>creiter@src.gnome.org</email>
</author>
<published>2017-04-02T11:17:36+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/pygobject.git/commit/?id=c3159accf3faa2bd804ac22ec7ac93e62b158a3e'/>
<id>c3159accf3faa2bd804ac22ec7ac93e62b158a3e</id>
<content type='text'>
Set the versions in runtests.py instead of repeating it in every
test module.

Add a new TEST_GTK_VERSION env var which defaults to "3.0".
Allows to run tests with gtk4 using "make check TEST_GTK_VERSION=4.0"
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Set the versions in runtests.py instead of repeating it in every
test module.

Add a new TEST_GTK_VERSION env var which defaults to "3.0".
Allows to run tests with gtk4 using "make check TEST_GTK_VERSION=4.0"
</pre>
</div>
</content>
</entry>
<entry>
<title>Emit ImportWarning when gi.require_version() is not used</title>
<updated>2015-01-24T20:12:56+00:00</updated>
<author>
<name>Christoph Reiter</name>
<email>reiter.christoph@gmail.com</email>
</author>
<published>2015-01-24T19:01:00+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/pygobject.git/commit/?id=ef3bff4e570363e4f383d4cdae9cecd4073b03d8'/>
<id>ef3bff4e570363e4f383d4cdae9cecd4073b03d8</id>
<content type='text'>
gi tries to import the latest version of typelibs which can cause
existing code to break when a newer typelib is released.
Emit an ImportWarning when gi.require_version() is not used to give
developers this awareness so they can future proof their code.

https://bugzilla.gnome.org/show_bug.cgi?id=727379
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
gi tries to import the latest version of typelibs which can cause
existing code to break when a newer typelib is released.
Emit an ImportWarning when gi.require_version() is not used to give
developers this awareness so they can future proof their code.

https://bugzilla.gnome.org/show_bug.cgi?id=727379
</pre>
</div>
</content>
</entry>
<entry>
<title>overrides: Remove Pango.Context.get_metrics</title>
<updated>2014-01-07T05:22:41+00:00</updated>
<author>
<name>Simon Feltman</name>
<email>sfeltman@src.gnome.org</email>
</author>
<published>2014-01-07T05:22:41+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/pygobject.git/commit/?id=2d388fcfca4bf1258d01b4491b4168589f3dd2b0'/>
<id>2d388fcfca4bf1258d01b4491b4168589f3dd2b0</id>
<content type='text'>
Remove the override for Pango.Context and the get_metrics method. This can
be done now that tail end method arguments with "allow-none" are implicitly
defaulted to use None/NULL.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove the override for Pango.Context and the get_metrics method. This can
be done now that tail end method arguments with "allow-none" are implicitly
defaulted to use None/NULL.
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove Python keyword escapement in Repository.find_by_name</title>
<updated>2013-04-18T20:52:29+00:00</updated>
<author>
<name>Simon Feltman</name>
<email>sfeltman@src.gnome.org</email>
</author>
<published>2013-04-11T11:09:59+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/pygobject.git/commit/?id=99872a18ed1468b2c85cc7b96a0d12f2ae5167f0'/>
<id>99872a18ed1468b2c85cc7b96a0d12f2ae5167f0</id>
<content type='text'>
Strip trailing underscore from module level items before
calling g_irepository_find_by_name. This fixes a problem
with GI module level items having the same name as a Python
keyword raising an AttributeError during access (Pango.break_).

https://bugzilla.gnome.org/show_bug.cgi?id=697363
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Strip trailing underscore from module level items before
calling g_irepository_find_by_name. This fixes a problem
with GI module level items having the same name as a Python
keyword raising an AttributeError during access (Pango.break_).

https://bugzilla.gnome.org/show_bug.cgi?id=697363
</pre>
</div>
</content>
</entry>
<entry>
<title>Split test_overrides.py</title>
<updated>2012-09-03T05:57:01+00:00</updated>
<author>
<name>Martin Pitt</name>
<email>martinpitt@gnome.org</email>
</author>
<published>2012-09-03T05:57:01+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/pygobject.git/commit/?id=2d8f48f4ff56bb75985136452b50b75895258608'/>
<id>2d8f48f4ff56bb75985136452b50b75895258608</id>
<content type='text'>
Split the huge test_overrides.py into separate files for gdk, gtk, gio, glib,
and pango. Further split the monolithic classes for Gtk and Gio into several
ones.

https://bugzilla.gnome.org/show_bug.cgi?id=683188
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Split the huge test_overrides.py into separate files for gdk, gtk, gio, glib,
and pango. Further split the monolithic classes for Gtk and Gio into several
ones.

https://bugzilla.gnome.org/show_bug.cgi?id=683188
</pre>
</div>
</content>
</entry>
</feed>
