From 9f84e4c7c59b172a09341af2ab496d07e29e01aa Mon Sep 17 00:00:00 2001 From: Sanu Madhavan Date: Fri, 20 Jan 2017 15:36:35 +0530 Subject: [PATCH] Remove white space between print () There was a white space between print and () Change-Id: I6793e52c441728e991fe61afb73227e16368d758 --- wsme/tests/test_restxml.py | 10 +++++----- wsmeext/tests/test_extdirect.py | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/wsme/tests/test_restxml.py b/wsme/tests/test_restxml.py index aab312b..6f1b090 100644 --- a/wsme/tests/test_restxml.py +++ b/wsme/tests/test_restxml.py @@ -57,7 +57,7 @@ def dumpxml(key, obj, datatype=None): def loadxml(el, datatype): - print (el, datatype, len(el)) + print(el, datatype, len(el)) if el.get('nil') == 'true': return None if isinstance(datatype, list): @@ -90,10 +90,10 @@ def loadxml(el, datatype): for attr in datatype._wsme_attributes: name = attr.name child = el.find(name) - print (name, attr, child) + print(name, attr, child) if child is not None: d[name] = loadxml(child, attr.datatype) - print (d) + print(d) return d else: if datatype == wsme.types.binary: @@ -137,7 +137,7 @@ class TestRestXML(wsme.tests.protocol.RestOnlyProtocolTestCase): content, headers=headers, expect_errors=True) - print ("Received:", res.body) + print("Received:", res.body) if _no_result_decode: return res @@ -167,7 +167,7 @@ class TestRestXML(wsme.tests.protocol.RestOnlyProtocolTestCase): language, sample = wsme.rest.xml.encode_sample_value( MyType, value, True) - print (language, sample) + print(language, sample) assert language == 'xml' assert sample == b(""" diff --git a/wsmeext/tests/test_extdirect.py b/wsmeext/tests/test_extdirect.py index eb52dec..54e8653 100644 --- a/wsmeext/tests/test_extdirect.py +++ b/wsmeext/tests/test_extdirect.py @@ -224,7 +224,7 @@ class TestExtDirectProtocol(wsme.tests.protocol.ProtocolTestCase): body, headers={'Content-Type': 'application/x-www-form-urlencoded'} ) - print (r) + print(r) assert json.loads(r.text) == { "tid": "1",