[gnumeric] py: simplify.



commit 92a07da5c57a4b4922b71dede401aef7e4b78e59
Author: Morten Welinder <terra gnome org>
Date:   Mon Oct 12 21:50:25 2020 -0400

    py: simplify.

 test/t3001-introspection-simple.py  | 2 +-
 test/t3002-introspection-io.py      | 2 +-
 test/t3003-introspection-plugins.py | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/test/t3001-introspection-simple.py b/test/t3001-introspection-simple.py
index 05c63d424..89a03c488 100755
--- a/test/t3001-introspection-simple.py
+++ b/test/t3001-introspection-simple.py
@@ -9,7 +9,7 @@ from gi.repository import Gnm
 Gnm.init()
 
 # A context for reporting errors to stderr
-cc = Gnm.CmdContextStderr.new()
+cc = Gnm.CmdContextStderr()
 
 # Load plugins
 Gnm.plugins_init(cc)
diff --git a/test/t3002-introspection-io.py b/test/t3002-introspection-io.py
index 0060f890b..64687de86 100755
--- a/test/t3002-introspection-io.py
+++ b/test/t3002-introspection-io.py
@@ -15,7 +15,7 @@ src_uri = GOffice.filename_to_uri (sys.argv[1])
 dst_uri = GOffice.filename_to_uri (sys.argv[2])
 
 # A context for reporting errors to stderr
-cc = Gnm.CmdContextStderr.new()
+cc = Gnm.CmdContextStderr()
 
 # Load plugins
 Gnm.plugins_init(cc)
diff --git a/test/t3003-introspection-plugins.py b/test/t3003-introspection-plugins.py
index eaa8e9978..4d8ba0b07 100755
--- a/test/t3003-introspection-plugins.py
+++ b/test/t3003-introspection-plugins.py
@@ -11,7 +11,7 @@ from gi.repository import GOffice
 Gnm.init()
 
 # A context for reporting errors to stderr
-cc = Gnm.CmdContextStderr.new ()
+cc = Gnm.CmdContextStderr()
 
 # Load plugins
 Gnm.plugins_init(cc)


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