summaryrefslogtreecommitdiff
path: root/dev-python/pkgconfig/files/pkgconfig-1.5.4-brittle-tests.patch
blob: 05ba21f22acc37bc428968438b7bf98c102a3721 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- a/test_pkgconfig.py
+++ b/test_pkgconfig.py
@@ -138,9 +138,9 @@
 def test_configure_extension():
     ext = Extension('foo', ['foo.c'])
     pkgconfig.configure_extension(ext, 'fake-gtk+-3.0 fake-python')
-    assert ext.extra_compile_args == [
+    assert sorted(ext.extra_compile_args) == [
          '-DGSEAL_ENABLE', '-I/usr/include/gtk-3.0','-I/usr/include/python2.7']
-    assert ext.extra_link_args == [
+    assert sorted(ext.extra_link_args) == [
         '-L/usr/lib_gtk_foo', '-L/usr/lib_python_foo', '-lgtk-3', '-lpython2.7']