diff options
author | Christoph Reiter <creiter@src.gnome.org> | 2017-04-02 13:22:32 +0200 |
---|---|---|
committer | Christoph Reiter <creiter@src.gnome.org> | 2017-04-02 13:26:57 +0200 |
commit | e98558a6843b68115d68d3bc92dad271b74ef6d0 (patch) | |
tree | 834f1b086e495eeed5c4c4a79733c8a23f656ec4 /tests/test_atoms.py | |
parent | c3159accf3faa2bd804ac22ec7ac93e62b158a3e (diff) | |
download | pygobject-e98558a6843b68115d68d3bc92dad271b74ef6d0.tar.gz |
tests: Make test suite run with GTK+ 4
Skip various tests which test things that are no longer available with gtk4.
Does not remove any deprecated overrides.
Disable gtk4 support in pygtkcompat. The porting path over gtk3 should be enough.
Diffstat (limited to 'tests/test_atoms.py')
-rw-r--r-- | tests/test_atoms.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_atoms.py b/tests/test_atoms.py index 02b0a1de..a2c2d5be 100644 --- a/tests/test_atoms.py +++ b/tests/test_atoms.py @@ -78,6 +78,7 @@ class TestGdkAtom(unittest.TestCase): @unittest.skipIf(sys.platform == "darwin" or os.name == "nt", "fails on OSX/Windows") + @unittest.skipIf(not Gdk or Gdk._version == "4.0", "not in gdk4") def test_out_glist(self): display = Gdk.Display.get_default() with capture_glib_deprecation_warnings(): |