summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2017-07-12 08:45:30 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2017-07-12 08:45:34 +0900
commit524563d888cea78be703c2fc5684a97843d58e13 (patch)
tree9d5d15a02d4428698a8656dfcb002fe5cc365e67 /tests
parentee6939d73fd96606a92eee870014c58eafee5e63 (diff)
downloadpygobject2-524563d888cea78be703c2fc5684a97843d58e13.tar.gz
pygobject2-524563d888cea78be703c2fc5684a97843d58e13.tar.bz2
pygobject2-524563d888cea78be703c2fc5684a97843d58e13.zip
Imported Upstream version 3.20.1
Change-Id: I629b9451671d6ccae02a7732d66600d3ccfa6fec Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile.in1
-rw-r--r--tests/test_gobject.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/tests/Makefile.in b/tests/Makefile.in
index 05005e4..b221b74 100644
--- a/tests/Makefile.in
+++ b/tests/Makefile.in
@@ -238,6 +238,7 @@ EXEEXT = @EXEEXT@
FFI_CFLAGS = @FFI_CFLAGS@
FFI_LIBS = @FFI_LIBS@
FGREP = @FGREP@
+GCOV = @GCOV@
GENHTML = @GENHTML@
GIO_CFLAGS = @GIO_CFLAGS@
GIO_LIBS = @GIO_LIBS@
diff --git a/tests/test_gobject.py b/tests/test_gobject.py
index e78132d..39a277b 100644
--- a/tests/test_gobject.py
+++ b/tests/test_gobject.py
@@ -686,7 +686,7 @@ class TestGValue(unittest.TestCase):
self.assertEqual(unboxed.code, error.code)
def test_gerror_novalue(self):
- error = GLib.Error('test message', domain='mydomain', code=42)
+ GLib.Error('test message', domain='mydomain', code=42)
value = GObject.Value(GLib.Error)
self.assertEqual(value.g_type, GObject.type_from_name('GError'))
self.assertEqual(value.get_value(), None)