summaryrefslogtreecommitdiff
path: root/python/test
diff options
context:
space:
mode:
Diffstat (limited to 'python/test')
-rw-r--r--python/test/Ice/admin/AllTests.py1
-rwxr-xr-xpython/test/Ice/blobject/Server.py1
-rw-r--r--python/test/Ice/defaultValue/Test.ice1
-rw-r--r--python/test/Ice/exceptions/AllTests.py2
-rw-r--r--python/test/Ice/operations/Twoways.py1
-rw-r--r--python/test/Ice/operations/TwowaysAMI.py1
-rw-r--r--python/test/Ice/properties/Client.py2
-rw-r--r--python/test/Ice/properties/config/escapes.cfg1
-rw-r--r--python/test/Ice/proxy/AllTests.py1
-rw-r--r--python/test/Ice/servantLocator/TestActivationAMDI.py1
-rw-r--r--python/test/Ice/servantLocator/TestActivationI.py1
-rw-r--r--python/test/Ice/timeout/AllTests.py1
12 files changed, 0 insertions, 14 deletions
diff --git a/python/test/Ice/admin/AllTests.py b/python/test/Ice/admin/AllTests.py
index 6f590408f6f..4a025ed3953 100644
--- a/python/test/Ice/admin/AllTests.py
+++ b/python/test/Ice/admin/AllTests.py
@@ -71,7 +71,6 @@ def testFacets(com, builtInFacets = True):
except Ice.NotRegisteredException:
pass # Expected
-
def allTests(communicator):
sys.stdout.write("testing communicator operations... ")
sys.stdout.flush()
diff --git a/python/test/Ice/blobject/Server.py b/python/test/Ice/blobject/Server.py
index ce5c7dae040..09fb77c6286 100755
--- a/python/test/Ice/blobject/Server.py
+++ b/python/test/Ice/blobject/Server.py
@@ -29,7 +29,6 @@ class TestI(Test.Hello):
def shutdown(self, current=None):
current.adapter.getCommunicator().shutdown()
-
def run(args, communicator):
communicator.getProperties().setProperty("TestAdapter.Endpoints", "default -p 12010:udp")
adapter = communicator.createObjectAdapter("TestAdapter")
diff --git a/python/test/Ice/defaultValue/Test.ice b/python/test/Ice/defaultValue/Test.ice
index 64021441f21..d0288b398e4 100644
--- a/python/test/Ice/defaultValue/Test.ice
+++ b/python/test/Ice/defaultValue/Test.ice
@@ -23,7 +23,6 @@ enum Color { red, green, blue }
}
-
struct Struct1
{
bool boolFalse = false;
diff --git a/python/test/Ice/exceptions/AllTests.py b/python/test/Ice/exceptions/AllTests.py
index fdfc2bddca6..4fb500d88b4 100644
--- a/python/test/Ice/exceptions/AllTests.py
+++ b/python/test/Ice/exceptions/AllTests.py
@@ -237,7 +237,6 @@ def allTests(communicator):
except Ice.IllegalServantException:
pass
-
adapter.remove(Ice.stringToIdentity("x"))
try:
adapter.remove(Ice.stringToIdentity("x"))
@@ -464,7 +463,6 @@ def allTests(communicator):
print("ok")
-
if thrower.ice_getConnection():
sys.stdout.write("testing memory limit marshal exception...");
sys.stdout.flush();
diff --git a/python/test/Ice/operations/Twoways.py b/python/test/Ice/operations/Twoways.py
index 53489803ce5..a90c1649a8a 100644
--- a/python/test/Ice/operations/Twoways.py
+++ b/python/test/Ice/operations/Twoways.py
@@ -1308,7 +1308,6 @@ def twoways(communicator, p):
for j in range(len(r)):
test(r[j] == -j)
-
#
# opContext
#
diff --git a/python/test/Ice/operations/TwowaysAMI.py b/python/test/Ice/operations/TwowaysAMI.py
index 735e526b68a..90c7299635e 100644
--- a/python/test/Ice/operations/TwowaysAMI.py
+++ b/python/test/Ice/operations/TwowaysAMI.py
@@ -1177,7 +1177,6 @@ def twowaysAMI(communicator, p):
derived.begin_opDerived(cb.opDerived, cb.exCB)
cb.check()
-
r = p.begin_opByte1(0xFF)
test(p.end_opByte1(r) == 0xFF)
diff --git a/python/test/Ice/properties/Client.py b/python/test/Ice/properties/Client.py
index b9774d51f92..7d14c2bccc8 100644
--- a/python/test/Ice/properties/Client.py
+++ b/python/test/Ice/properties/Client.py
@@ -9,7 +9,6 @@
#
# **********************************************************************
-
import os, sys, traceback
import Ice
@@ -26,7 +25,6 @@ class Client(Ice.Application):
test(properties.getProperty("Ice.ProgramName") == "PropertiesClient")
test(self.appName() == properties.getProperty("Ice.ProgramName"))
-
sys.stdout.write("testing load properties from UTF-8 path... ")
sys.stdout.flush()
properties = Ice.createProperties()
diff --git a/python/test/Ice/properties/config/escapes.cfg b/python/test/Ice/properties/config/escapes.cfg
index bd7c16643d9..a9d91a0a19f 100644
--- a/python/test/Ice/properties/config/escapes.cfg
+++ b/python/test/Ice/properties/config/escapes.cfg
@@ -22,7 +22,6 @@ foo\=bar=1 # Name is "foo=bar", value is "1"
foo\#bar = 2 # Name is "foo#bar", value is "2"
foo bar =3 # Name is "foo bar", value is "3"
-
A=1 # Name is "A", value is "1"
B= 2 3 4 # Name is "B", value is "2 3 4"
C=5=\#6 # 7 # Name is "C", value is "5=#6"
diff --git a/python/test/Ice/proxy/AllTests.py b/python/test/Ice/proxy/AllTests.py
index 8c34f28cc29..75ba821c0fa 100644
--- a/python/test/Ice/proxy/AllTests.py
+++ b/python/test/Ice/proxy/AllTests.py
@@ -359,7 +359,6 @@ def allTests(communicator, collocated):
sys.stdout.write("testing proxy methods... ")
sys.stdout.flush()
-
test(communicator.identityToString(base.ice_identity(communicator.stringToIdentity("other")).ice_getIdentity()) \
== "other")
diff --git a/python/test/Ice/servantLocator/TestActivationAMDI.py b/python/test/Ice/servantLocator/TestActivationAMDI.py
index 4c54569c4b2..0eac2d1cf80 100644
--- a/python/test/Ice/servantLocator/TestActivationAMDI.py
+++ b/python/test/Ice/servantLocator/TestActivationAMDI.py
@@ -10,7 +10,6 @@
import os, sys, traceback, time
import Ice, Test, TestAMDI
-
class TestActivationAMDI(Test.TestActivation):
def activateServantLocator(self, activate, current=None):
diff --git a/python/test/Ice/servantLocator/TestActivationI.py b/python/test/Ice/servantLocator/TestActivationI.py
index 1e52844a9f5..3e9b28d8154 100644
--- a/python/test/Ice/servantLocator/TestActivationI.py
+++ b/python/test/Ice/servantLocator/TestActivationI.py
@@ -10,7 +10,6 @@
import os, sys, traceback, time
import Ice, Test, TestI
-
class TestActivationI(Test.TestActivation):
def activateServantLocator(self, activate, current=None):
diff --git a/python/test/Ice/timeout/AllTests.py b/python/test/Ice/timeout/AllTests.py
index 986fb129380..b1a521e925f 100644
--- a/python/test/Ice/timeout/AllTests.py
+++ b/python/test/Ice/timeout/AllTests.py
@@ -272,5 +272,4 @@ def allTests(communicator):
print("ok")
-
return timeout