make python_tests is with python 3.8 (on several platforms) says "This function reads ..." on every test!

This commit is contained in:
clanmills 2020-05-06 09:04:23 +01:00
parent a1abe21a71
commit 089b37a637

View File

@ -526,7 +526,6 @@ def path(path_string):
return os.path.join(*path_string.split('/'))
def test_run(self):
"""
This function reads in the attributes commands, retval, stdout, stderr,
stdin and runs the `expand_variables` function on each. The resulting
@ -539,6 +538,7 @@ def test_run(self):
test by the CaseMeta metaclass. This ensures that it is run by each system
test **after** setUp() and setUpClass() were run.
"""
def test_run(self):
if not (len(self.commands) == len(self.retval)
== len(self.stdout) == len(self.stderr) == len(self.stdin)):
raise ValueError(