[pygobject] tests: Fix incorrect assumption when testing pyglib version



commit bb4fa093d59173f68a0b16e10016bafe7cd18f62
Author: Simon Feltman <sfeltman src gnome org>
Date:   Wed Mar 20 23:45:01 2013 -0700

    tests: Fix incorrect assumption when testing pyglib version
    
    Replace version test of 3.7.2 with 3.0.0 as it is the only reasonable
    value that can be used for a future proof unittest here.

 tests/test_glib.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/tests/test_glib.py b/tests/test_glib.py
index 9ef60e4..3cde168 100644
--- a/tests/test_glib.py
+++ b/tests/test_glib.py
@@ -202,5 +202,5 @@ https://my.org/q?x=1&y=2
     def test_pyglib_version(self):
         (major, minor, micro) = GLib.pyglib_version
         self.assertGreaterEqual(major, 3)
-        self.assertGreaterEqual(minor, 7)
-        self.assertGreaterEqual(micro, 2)
+        self.assertGreaterEqual(minor, 0)
+        self.assertGreaterEqual(micro, 0)


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