tests: Fix gtk_drag_methods method for Gtk4

11 jobs for wip/jfelder/gtk4-toolbutton in 3 minutes and 21 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Build And Test
passed #631827
flatpak
gnome-master

00:01:49

failed #631828
flatpak allowed to fail
gnome-master-gtk4

00:01:56

failed #631825
allowed to fail
pypy3.6

00:02:37

failed #631821
python3.5

00:02:22

failed #631822
python3.6

00:01:52

failed #631823
python3.7

00:03:10

failed #631824
python3.8

00:03:19

passed #631819
win32
python3-mingw32

00:02:10

passed #631820
win32
python3-mingw64

00:02:29

passed #631826
xenial-i386-py3

00:02:30

 
  Coverage
skipped #631829
coverage
 
Name Stage Failure
failed
python3.8 Build And Test
Fail:                  0
Unexpected Pass: 0
Skipped: 0
Timeout: 0

+ rm -Rf _build
+ python -m flake8
./tests/test_overrides_gtk.py:721:5: E303 too many blank lines (3)
ERROR: Job failed: exit code 1
failed
python3.7 Build And Test
Fail:                  0
Unexpected Pass: 0
Skipped: 0
Timeout: 0

+ rm -Rf _build
+ python -m flake8
./tests/test_overrides_gtk.py:721:5: E303 too many blank lines (3)
ERROR: Job failed: exit code 1
failed
pypy3.6 Build And Test
Fail:                  0
Unexpected Pass: 0
Skipped: 0
Timeout: 0

+ rm -Rf _build
+ python -m flake8
./tests/test_overrides_gtk.py:721:5: E303 too many blank lines (3)
ERROR: Job failed: exit code 1
failed
python3.5 Build And Test
Fail:                  0
Unexpected Pass: 0
Skipped: 0
Timeout: 0

+ rm -Rf _build
+ python -m flake8
./tests/test_overrides_gtk.py:721:5: E303 too many blank lines (3)
ERROR: Job failed: exit code 1
failed
gnome-master-gtk4 Build And Test
FAILED tests/test_overrides_gtk.py::TestSignals::test_class_closure_override_with_aliased_type
FAILED tests/test_overrides_gtk.py::TestBuilder::test_builder - gi.repository...
FAILED tests/test_overrides_gtk.py::TestBuilder::test_builder_with_handler_and_args
FAILED tests/test_overrides_gtk.py::TestBuilder::test_builder_with_handler_object
FAILED tests/test_overrides_gtk.py::TestTreeView::test_tree_view - AttributeE...
FAILED tests/test_overrides_gtk.py::TestTreeView::test_tree_view_add_column_with_attributes
FAILED tests/test_overrides_gtk.py::TestTreeView::test_tree_view_column_set_attributes
========== 21 failed, 1326 passed, 103 skipped, 12 xfailed in 21.84s ===========
ERROR: Job failed: exit code 1
failed
python3.6 Build And Test
Fail:                  0
Unexpected Pass: 0
Skipped: 0
Timeout: 0

+ rm -Rf _build
+ python -m flake8
./tests/test_overrides_gtk.py:721:5: E303 too many blank lines (3)
ERROR: Job failed: exit code 1