[pygobject/pygobject-2-28] GIO tests: Fix remaining test case for separate build tree



commit be81ea00d6cd92a5ae77c5bb301b6f6baeb6d89a
Author: Martin Pitt <martin pitt ubuntu com>
Date:   Tue Mar 22 14:02:46 2011 +0100

    GIO tests: Fix remaining test case for separate build tree

 tests/test_gio.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tests/test_gio.py b/tests/test_gio.py
index 6ce97ca..e14eddf 100644
--- a/tests/test_gio.py
+++ b/tests/test_gio.py
@@ -516,7 +516,7 @@ class TestFile(unittest.TestCase):
 
 class TestGFileEnumerator(unittest.TestCase):
     def setUp(self):
-        self.file = gio.File(".")
+        self.file = gio.File(os.path.dirname(__file__))
 
     def testEnumerateChildren(self):
         enumerator = self.file.enumerate_children(



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