Commit f0b16d2e authored by Vangelis Koukis's avatar Vangelis Koukis
Browse files

Clarify a change introduced in the test suite

parent 7dc03881
......@@ -630,7 +630,10 @@ def _spawn_server_test_case(**kwargs):
inspect.getmembers(cls, lambda x: inspect.ismethod(x)):
if hasattr(m, __doc__):
m.__func__.__doc__ = "[%s] %s" % (imagename, m.__doc__)
setattr(__main__,name,cls)
# Make sure the class can be pickled, by listing it among
# the attributes of __main__. A PicklingError is raised otherwise.
setattr(__main__, name, cls)
return cls
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment