[pygobject/pygobject-3-26] test: revert parts of the previous test as it's broken on 32 bit builds



commit 1136f385d6080297bd57715b749c67f5e7208ba2
Author: Christoph Reiter <creiter src gnome org>
Date:   Thu Oct 26 09:35:09 2017 +0200

    test: revert parts of the previous test as it's broken on 32 bit builds
    
    The int based flag type can't represent the flag value on 32 bit,
    some more work is needed there. Remove that check again for now.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=786948

 tests/test_gi.py |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/tests/test_gi.py b/tests/test_gi.py
index 3766ade..d1b0cfd 100644
--- a/tests/test_gi.py
+++ b/tests/test_gi.py
@@ -1865,7 +1865,6 @@ class TestGFlags(unittest.TestCase):
                          "GIMarshallingTests.Flags>")
 
     def test_flags_large_in(self):
-        self.assertEqual(int(GIMarshallingTests.ExtraFlags.VALUE2), 1 << 31)
         GIMarshallingTests.extra_flags_large_in(
             GIMarshallingTests.ExtraFlags.VALUE2)
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]