make python tests python3 compatible
diff --git a/bindings/python/tests/add_selector2.py b/bindings/python/tests/add_selector2.py
index 07ade3e..1ee27ae 100644
--- a/bindings/python/tests/add_selector2.py
+++ b/bindings/python/tests/add_selector2.py
@@ -21,7 +21,7 @@
             (key_asdf, value_asdf) = selector_str.split("=")
             assert key_asdf is not None
             assert value_asdf is not None
-            print "Calling add_selector(%r, %r)" % (key_asdf, value_asdf)
+            print( "Calling add_selector(%r, %r)" % (key_asdf, value_asdf) )
             options.add_selector(str(key_asdf), str(value_asdf))
         dummy = client.invoke(options, "http://uri", "method", XmlDoc("dummy doc"))
 
diff --git a/bindings/python/tests/enumerate.py b/bindings/python/tests/enumerate.py
index bd582cf..6bbbc81 100644
--- a/bindings/python/tests/enumerate.py
+++ b/bindings/python/tests/enumerate.py
@@ -25,7 +25,7 @@
 		root = doc.root()
 		assert root is not None
 		context = root.find(XML_NS_ENUMERATION, "EnumerationContext" )
-		print "Context: %s" % context
+		print( "Context: %s" % context )
 	def test_enum_and_pull(self):
 #		set_debug(1) # enable to print logging to stderr
 		client = Client( "http://wsman:secret@localhost:5985/wsman" )
@@ -43,7 +43,7 @@
 		assert root is not None
 		pullresp = root.find(XML_NS_ENUMERATION, "PullResponse" )
 		assert pullresp is not None
-		print "Pull response: %s" % pullresp.string()
+		print( "Pull response: %s" % pullresp.string() )
 
 if __name__ == '__main__':
     unittest.main()
diff --git a/bindings/python/tests/epr.py b/bindings/python/tests/epr.py
index 0899ddc..4326193 100644
--- a/bindings/python/tests/epr.py
+++ b/bindings/python/tests/epr.py
@@ -15,13 +15,13 @@
     def test_endpoint_reference(self):
         epr = EndPointReference("http://schemas.microsoft.com/wbem/wsman/1/wmi/root/cimv2/Win32_Service?Name=Windows&Vendor=Microsoft")
         assert epr is not None
-        print epr.to_xml()
+        print( epr.to_xml() )
         s1 = epr.selector("Name")
         assert s1 is not None
         s2 = epr.selector("Vendor")
         assert s2 is not None
         names = epr.selector_names()
-        print "Names: ", names
+        print( "Names: ", names )
 
 if __name__ == '__main__':
     unittest.main()
diff --git a/bindings/python/tests/identify.py b/bindings/python/tests/identify.py
index c15a18f..02de86f 100644
--- a/bindings/python/tests/identify.py
+++ b/bindings/python/tests/identify.py
@@ -30,7 +30,7 @@
       prot_version = root.find( XML_NS_WSMAN_ID, "ProtocolVersion" )
       prod_vendor = root.find( XML_NS_WSMAN_ID, "ProductVendor" )
       prod_version = root.find( XML_NS_WSMAN_ID, "ProductVersion" )
-      print "Protocol %s, Vendor %s, Version %s"  %( prot_version, prod_vendor, prod_version )
+      print("Protocol %s, Vendor %s, Version %s"  %( prot_version, prod_vendor, prod_version ))
 
 
 if __name__ == '__main__':
diff --git a/bindings/python/tests/release.py b/bindings/python/tests/release.py
index fee1605..5049679 100644
--- a/bindings/python/tests/release.py
+++ b/bindings/python/tests/release.py
@@ -31,7 +31,7 @@
 		assert root is not None
 		resp = root.find(XML_NS_ADDRESSING, "Action" )
 		self.assertEquals( resp.__str__(), XML_NS_ENUMERATION + '/' +  WSENUM_RELEASE_RESP )
-		print "Action %s" % resp
+		print( "Action %s" % resp )
 
 
 if __name__ == '__main__':