-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
5.9.0: test suite is failing #93
Comments
Just checked 6.0.0 and looks like test suite still is failing
|
pyutilib uses nose to collect / run the test harness. Generally, run the test suite using Note that |
nosetest is even worse
|
That has nothing to do with pyutilib. You are running nosetests within a pylint source tree: those are all pylint tests. |
So where I suppose tu run nosetests ? |
You are correct: if you want to run the PyUtilib tests, you either execute nosetests within the pyutilib source tree, or you can run
The failing tests above are all from pylint, because you ran nosetests within a pylint source tree. |
Just tested 6.0.0 and it still fails:
|
Sorry to ask. |
Just tested 6.0.0 and test suite still fails. + PYTHONPATH=/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/build/lib
+ /usr/bin/python3 -Bm pytest -ra
=========================================================================== test session starts ============================================================================
platform linux -- Python 3.8.9, pytest-6.2.3, py-1.10.0, pluggy-0.13.1
rootdir: /home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0
plugins: forked-1.3.0, shutil-1.7.0, virtualenv-1.7.0, expect-1.1.0, cov-2.11.1, httpbin-1.0.0, xdist-2.2.1, flake8-1.0.7, timeout-1.4.2, betamax-0.8.1, pyfakefs-4.4.0, freezegun-0.4.2, cases-3.4.6, case-1.5.3, isort-1.3.0, aspectlib-1.5.2, flaky-3.7.0, mock-3.6.0, hypothesis-6.12.0, asyncio-0.15.1
collected 601 items
doc/workflow/examples/test_example.py ...................... [ 3%]
pyutilib/autotest/tests/test_driver.py ............ [ 5%]
pyutilib/component/app/tests/test_simple.py ..... [ 6%]
pyutilib/component/config/tests/test_config.py ........... [ 8%]
pyutilib/component/config/tests/test_options.py .............. [ 10%]
pyutilib/component/config/tests/test_tempdir.py ..................... [ 14%]
pyutilib/component/core/tests/test_core.py ..............FF... [ 17%]
pyutilib/component/loader/tests/test_egg.py .. [ 17%]
pyutilib/component/loader/tests/test_load.py ...... [ 18%]
pyutilib/component/loader/tests/test_load2.py .... [ 19%]
pyutilib/dev/tests/test_runtests.py ........... [ 21%]
pyutilib/excel/tests/test_data.py sssssssssssssssssssssssssssssssssssssss [ 27%]
pyutilib/math/tests/test_math.py ....... [ 28%]
pyutilib/math/tests/test_numtypes.py .. [ 29%]
pyutilib/misc/tests/test_archivereader.py ............................................... [ 36%]
pyutilib/misc/tests/test_config.py .................................................................................. [ 50%]
pyutilib/misc/tests/test_cross.py ... [ 51%]
pyutilib/misc/tests/test_factory.py ...... [ 52%]
pyutilib/misc/tests/test_hierarchical_timer.py . [ 52%]
pyutilib/misc/tests/test_import.py .............................. [ 57%]
pyutilib/misc/tests/test_io.py .......... [ 58%]
pyutilib/misc/tests/test_json.py ................ [ 61%]
pyutilib/misc/tests/test_log_config.py ...... [ 62%]
pyutilib/misc/tests/test_method.py .. [ 62%]
pyutilib/misc/tests/test_misc.py .............................. [ 67%]
pyutilib/misc/tests/test_singleton.py .. [ 68%]
pyutilib/misc/tests/test_smap.py ...... [ 69%]
pyutilib/misc/tests/test_visitor.py ........ [ 70%]
pyutilib/misc/tests/test_xml.py ................ [ 73%]
pyutilib/misc/tests/test_yaml.py .......................... [ 77%]
pyutilib/subprocess/tests/test_subprocess.py .s......F [ 79%]
pyutilib/th/tests/test_misc.py .x..xxxxxx.x..xxxxxx [ 82%]
pyutilib/th/tests/test_pyunit.py ................ [ 85%]
pyutilib/workflow/tests/test_core.py ....s....s............. [ 88%]
pyutilib/workflow/tests/test_doc.py ...............FF..... [ 92%]
pyutilib/workflow/tests/test_task.py ..xxx.x................xxxxxxxxxxxxxxxxxxxxxx [100%]
================================================================================= FAILURES =================================================================================
___________________________________________________________________________ TestMisc.test_pprint ___________________________________________________________________________
self = <pyutilib.component.core.tests.test_core.TestMisc testMethod=test_pprint>
testfile = '/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/component/core/tests/log1.out'
baseline = '/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/component/core/tests/log1.jsn', delete = True, tolerance = 0.0, exact = False
def assertMatchesJsonBaseline(self,
testfile,
baseline,
delete=True,
tolerance=0.0,
exact=False):
try:
import pyutilib.misc
> pyutilib.misc.compare_json_files(
baseline, testfile, tolerance=tolerance, exact=exact)
pyutilib/th/pyunit.py:342:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
baseline_fname = '/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/component/core/tests/log1.jsn'
output_fname = '/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/component/core/tests/log1.out', tolerance = 0.0, baseline_begin = '', baseline_end = ''
output_begin = '', output_end = None, exact = False
def compare_json_files(baseline_fname,
output_fname,
tolerance=0.0,
baseline_begin='',
baseline_end='',
output_begin='',
output_end=None,
exact=True):
> return compare_files(
baseline_fname,
output_fname,
tolerance=tolerance,
baseline_begin=baseline_begin,
baseline_end=baseline_end,
output_begin=output_begin,
output_end=output_end,
exact=exact,
using_yaml=False)
pyutilib/misc/pyyaml_util.py:357:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
baseline_fname = '/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/component/core/tests/log1.jsn'
output_fname = '/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/component/core/tests/log1.out', tolerance = 0.0, baseline_begin = '', baseline_end = ''
output_begin = '', output_end = None, exact = False, using_yaml = False
def compare_files(baseline_fname,
output_fname,
tolerance=0.0,
baseline_begin='',
baseline_end='',
output_begin='',
output_end=None,
exact=True,
using_yaml=True):
INPUT = open_possibly_compressed_file(baseline_fname)
baseline = extract_subtext(
INPUT, begin_str=baseline_begin, end_str=baseline_end)
INPUT.close()
INPUT = open_possibly_compressed_file(output_fname)
output = extract_subtext(INPUT, begin_str=output_begin, end_str=output_end)
INPUT.close()
> compare_strings(
baseline,
output,
tolerance=tolerance,
exact=exact,
using_yaml=using_yaml)
pyutilib/misc/pyyaml_util.py:341:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
baseline = '{\n "Environment Stack": {\n "1": "pca",\n "2": "testing",\n "3": "foo",\n "4": "bar"\...,\n "pyutilib.component.loader.plugin_importLoader": {\n "ImportLoader": null\n }\n }\n}\n'
output = '{\n "Environment Stack": {\n "1": "pca",\n "2": "testing",\n "3": "foo",\n "4": "bar"\... },\n "tasks_yz": {\n "PluginTaskY": null,\n "PluginTaskZ": null\n }\n }\n}\n'
tolerance = 0.0, exact = False, using_yaml = False
def compare_strings(baseline,
output,
tolerance=0.0,
exact=True,
using_yaml=True):
if using_yaml:
try:
baseline_repn = load_yaml(baseline)
output_repn = load_yaml(output)
except ImportError:
raise IOError(
"Cannot compare YAML strings because YAML is not available")
else:
try:
baseline_repn = load_json(baseline)
except ImportError:
raise IOError(
"Cannot compare JSON strings because JSON is not available")
except Exception:
print("Problem parsing JSON baseline")
print(baseline)
raise
try:
output_repn = load_json(output)
except Exception:
print("Problem parsing JSON output")
print(output)
raise
> compare_repn(
baseline_repn,
output_repn,
tolerance=tolerance,
exact=exact,
using_yaml=using_yaml)
pyutilib/misc/pyyaml_util.py:317:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
baseline = {'Environment Stack': {'1': 'pca', '2': 'testing', '3': 'foo', '4': 'bar'}, 'Interfaces Declared': {'IConfiguration': ...in8': None}, 'IDebug3': {'Plugin100': None, 'Plugin5': None, 'Plugin5_factory': None, 'Plugin6': None, ...}, ...}, ...}
output = {'Environment Stack': {'1': 'pca', '2': 'testing', '3': 'foo', '4': 'bar'}, 'Interfaces Declared': {'IConfiguration': ...e, 'Plugin8': None}, 'IDebug3': {'Plugin100': None, 'Plugin5': None, 'Plugin6': None, 'Plugin8': None, ...}, ...}, ...}
tolerance = 0.0, prefix = '<root>', exact = False, using_yaml = False
def compare_repn(baseline,
output,
tolerance=0.0,
prefix="<root>",
exact=True,
using_yaml=True):
if type(baseline) != type(output) and not (
type(baseline) in [int, float] and type(output) in [int, float]):
raise IOError(
"(%s) Structural difference:\nbaseline:\n%s\noutput:\n%s" %
(prefix, pprint.pformat(baseline), pprint.pformat(output)))
#
if type(baseline) is list:
if not exact and len(baseline) > len(output):
raise IOError(
"(%s) Baseline has longer list than output:\nbaseline:\n%s\noutput:\n%s"
% (prefix, pprint.pformat(baseline), pprint.pformat(output)))
if exact and len(baseline) != len(output):
raise IOError(
"(%s) Baseline list length does not equal output list:\nbaseline:\n%s\noutput:\n%s"
% (prefix, pprint.pformat(baseline), pprint.pformat(output)))
j = 0
i = 0
msg = ''
while j < len(baseline) and i < len(output):
try:
compare_repn(
baseline[j],
output[i],
tolerance=tolerance,
prefix=prefix + "[" + str(i) + "]",
exact=exact,
using_yaml=using_yaml)
j += 1
except Exception:
msg = sys.exc_info()[1]
print(msg)
pass
i += 1
if j < len(baseline):
raise IOError(
"(%s) Could not find item %d in output list:\nbaseline:\n%s\noutput:\n%s\nERROR: %s"
% (prefix, j, pprint.pformat(baseline), pprint.pformat(output),
msg))
#
elif type(baseline) is dict or type(baseline) is OrderedDict:
if exact and len(baseline.keys()) != len(output.keys()):
raise IOError(
"(%s) Baseline and output have different keys:\nbaseline:\n%s\noutput:\n%s"
% (prefix, pprint.pformat(baseline.keys()),
pprint.pformat(output.keys())))
for key in baseline:
if not key in output:
raise IOError(
"(%s) Baseline key %s that does not exist in output:baseline:\n%s\noutput:\n%s"
% (prefix, key, pprint.pformat(baseline.keys()),
pprint.pformat(output.keys())))
> compare_repn(
baseline[key],
output[key],
tolerance=tolerance,
prefix=prefix + "." + str(key),
exact=exact,
using_yaml=using_yaml)
pyutilib/misc/pyyaml_util.py:270:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
baseline = {'IConfiguration': {'Configuration_ConfigParser': None}, 'IDebug1': {'Plugin1': None, 'Plugin10': None, 'Plugin1a': No... 'Plugin8': None}, 'IDebug3': {'Plugin100': None, 'Plugin5': None, 'Plugin5_factory': None, 'Plugin6': None, ...}, ...}
output = {'IConfiguration': {'Configuration_ConfigParser': None}, 'IDebug1': {'Plugin1': None, 'Plugin10': None, 'Plugin1a': No...': None, 'Plugin8': None}, 'IDebug3': {'Plugin100': None, 'Plugin5': None, 'Plugin6': None, 'Plugin8': None, ...}, ...}
tolerance = 0.0, prefix = '<root>.Plugins by Interface', exact = False, using_yaml = False
def compare_repn(baseline,
output,
tolerance=0.0,
prefix="<root>",
exact=True,
using_yaml=True):
if type(baseline) != type(output) and not (
type(baseline) in [int, float] and type(output) in [int, float]):
raise IOError(
"(%s) Structural difference:\nbaseline:\n%s\noutput:\n%s" %
(prefix, pprint.pformat(baseline), pprint.pformat(output)))
#
if type(baseline) is list:
if not exact and len(baseline) > len(output):
raise IOError(
"(%s) Baseline has longer list than output:\nbaseline:\n%s\noutput:\n%s"
% (prefix, pprint.pformat(baseline), pprint.pformat(output)))
if exact and len(baseline) != len(output):
raise IOError(
"(%s) Baseline list length does not equal output list:\nbaseline:\n%s\noutput:\n%s"
% (prefix, pprint.pformat(baseline), pprint.pformat(output)))
j = 0
i = 0
msg = ''
while j < len(baseline) and i < len(output):
try:
compare_repn(
baseline[j],
output[i],
tolerance=tolerance,
prefix=prefix + "[" + str(i) + "]",
exact=exact,
using_yaml=using_yaml)
j += 1
except Exception:
msg = sys.exc_info()[1]
print(msg)
pass
i += 1
if j < len(baseline):
raise IOError(
"(%s) Could not find item %d in output list:\nbaseline:\n%s\noutput:\n%s\nERROR: %s"
% (prefix, j, pprint.pformat(baseline), pprint.pformat(output),
msg))
#
elif type(baseline) is dict or type(baseline) is OrderedDict:
if exact and len(baseline.keys()) != len(output.keys()):
raise IOError(
"(%s) Baseline and output have different keys:\nbaseline:\n%s\noutput:\n%s"
% (prefix, pprint.pformat(baseline.keys()),
pprint.pformat(output.keys())))
for key in baseline:
if not key in output:
raise IOError(
"(%s) Baseline key %s that does not exist in output:baseline:\n%s\noutput:\n%s"
% (prefix, key, pprint.pformat(baseline.keys()),
pprint.pformat(output.keys())))
> compare_repn(
baseline[key],
output[key],
tolerance=tolerance,
prefix=prefix + "." + str(key),
exact=exact,
using_yaml=using_yaml)
pyutilib/misc/pyyaml_util.py:270:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
baseline = {'Plugin100': None, 'Plugin5': None, 'Plugin5_factory': None, 'Plugin6': None, ...}
output = {'Plugin100': None, 'Plugin5': None, 'Plugin6': None, 'Plugin8': None, ...}, tolerance = 0.0, prefix = '<root>.Plugins by Interface.IDebug3', exact = False
using_yaml = False
def compare_repn(baseline,
output,
tolerance=0.0,
prefix="<root>",
exact=True,
using_yaml=True):
if type(baseline) != type(output) and not (
type(baseline) in [int, float] and type(output) in [int, float]):
raise IOError(
"(%s) Structural difference:\nbaseline:\n%s\noutput:\n%s" %
(prefix, pprint.pformat(baseline), pprint.pformat(output)))
#
if type(baseline) is list:
if not exact and len(baseline) > len(output):
raise IOError(
"(%s) Baseline has longer list than output:\nbaseline:\n%s\noutput:\n%s"
% (prefix, pprint.pformat(baseline), pprint.pformat(output)))
if exact and len(baseline) != len(output):
raise IOError(
"(%s) Baseline list length does not equal output list:\nbaseline:\n%s\noutput:\n%s"
% (prefix, pprint.pformat(baseline), pprint.pformat(output)))
j = 0
i = 0
msg = ''
while j < len(baseline) and i < len(output):
try:
compare_repn(
baseline[j],
output[i],
tolerance=tolerance,
prefix=prefix + "[" + str(i) + "]",
exact=exact,
using_yaml=using_yaml)
j += 1
except Exception:
msg = sys.exc_info()[1]
print(msg)
pass
i += 1
if j < len(baseline):
raise IOError(
"(%s) Could not find item %d in output list:\nbaseline:\n%s\noutput:\n%s\nERROR: %s"
% (prefix, j, pprint.pformat(baseline), pprint.pformat(output),
msg))
#
elif type(baseline) is dict or type(baseline) is OrderedDict:
if exact and len(baseline.keys()) != len(output.keys()):
raise IOError(
"(%s) Baseline and output have different keys:\nbaseline:\n%s\noutput:\n%s"
% (prefix, pprint.pformat(baseline.keys()),
pprint.pformat(output.keys())))
for key in baseline:
if not key in output:
> raise IOError(
"(%s) Baseline key %s that does not exist in output:baseline:\n%s\noutput:\n%s"
% (prefix, key, pprint.pformat(baseline.keys()),
pprint.pformat(output.keys())))
E OSError: (<root>.Plugins by Interface.IDebug3) Baseline key Plugin5_factory that does not exist in output:baseline:
E dict_keys(['Plugin100', 'Plugin5', 'Plugin5_factory', 'Plugin6', 'Plugin6_factory', 'Plugin8', 'Plugin9'])
E output:
E dict_keys(['Plugin100', 'Plugin5', 'Plugin6', 'Plugin8', 'Plugin9'])
pyutilib/misc/pyyaml_util.py:266: OSError
During handling of the above exception, another exception occurred:
self = <pyutilib.component.core.tests.test_core.TestMisc testMethod=test_pprint>
def test_pprint(self):
"""Test the string representation generated"""
class Plugin100(SingletonPlugin):
implements(IDebug3, service=True)
spx = Plugin100()
PluginGlobals.add_env("foo")
s1 = Plugin1()
s2 = Plugin2()
s3 = Plugin3()
tmp_env = PluginGlobals.add_env("bar")
s4 = Plugin1()
s5 = Plugin3()
s6 = Plugin11b()
sp0 = Plugin100()
try:
self.assertFalse(re.match("<Plugin Plugin1", str(s1)) is None)
self.assertFalse(re.match("<Plugin Plugin2", str(s2)) is None)
self.assertFalse(re.match("<Plugin Plugin3", str(s3)) is None)
self.assertFalse(re.match("<Plugin Plugin1", str(s4)) is None)
self.assertFalse(re.match("<Plugin Plugin3", str(s5)) is None)
pyutilib.misc.setup_redirect(currdir + "log1.out")
PluginGlobals.pprint(plugins=False, json=True)
pyutilib.misc.reset_redirect()
> self.assertMatchesJsonBaseline(currdir + "log1.out",
currdir + "log1.jsn")
pyutilib/component/core/tests/test_core.py:381:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
pyutilib/th/pyunit.py:348: in assertMatchesJsonBaseline
self.fail("JSON testfile does not match the baseline:\n testfile="
E AssertionError: JSON testfile does not match the baseline:
E testfile=/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/component/core/tests/log1.out
E baseline=/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/component/core/tests/log1.jsn
E (<root>.Plugins by Interface.IDebug3) Baseline key Plugin5_factory that does not exist in output:baseline:
E dict_keys(['Plugin100', 'Plugin5', 'Plugin5_factory', 'Plugin6', 'Plugin6_factory', 'Plugin8', 'Plugin9'])
E output:
E dict_keys(['Plugin100', 'Plugin5', 'Plugin6', 'Plugin8', 'Plugin9'])
_________________________________________________________________________ TestManager.test_factory _________________________________________________________________________
self = <pyutilib.component.core.tests.test_core.TestManager testMethod=test_factory>
testfile = '/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/component/core/tests/factory.out'
baseline = '/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/component/core/tests/factory.jsn', delete = True, tolerance = 0.0, exact = False
def assertMatchesJsonBaseline(self,
testfile,
baseline,
delete=True,
tolerance=0.0,
exact=False):
try:
import pyutilib.misc
> pyutilib.misc.compare_json_files(
baseline, testfile, tolerance=tolerance, exact=exact)
pyutilib/th/pyunit.py:342:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
baseline_fname = '/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/component/core/tests/factory.jsn'
output_fname = '/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/component/core/tests/factory.out', tolerance = 0.0, baseline_begin = '', baseline_end = ''
output_begin = '', output_end = None, exact = False
def compare_json_files(baseline_fname,
output_fname,
tolerance=0.0,
baseline_begin='',
baseline_end='',
output_begin='',
output_end=None,
exact=True):
> return compare_files(
baseline_fname,
output_fname,
tolerance=tolerance,
baseline_begin=baseline_begin,
baseline_end=baseline_end,
output_begin=output_begin,
output_end=output_end,
exact=exact,
using_yaml=False)
pyutilib/misc/pyyaml_util.py:357:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
baseline_fname = '/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/component/core/tests/factory.jsn'
output_fname = '/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/component/core/tests/factory.out', tolerance = 0.0, baseline_begin = '', baseline_end = ''
output_begin = '', output_end = None, exact = False, using_yaml = False
def compare_files(baseline_fname,
output_fname,
tolerance=0.0,
baseline_begin='',
baseline_end='',
output_begin='',
output_end=None,
exact=True,
using_yaml=True):
INPUT = open_possibly_compressed_file(baseline_fname)
baseline = extract_subtext(
INPUT, begin_str=baseline_begin, end_str=baseline_end)
INPUT.close()
INPUT = open_possibly_compressed_file(output_fname)
output = extract_subtext(INPUT, begin_str=output_begin, end_str=output_end)
INPUT.close()
> compare_strings(
baseline,
output,
tolerance=tolerance,
exact=exact,
using_yaml=using_yaml)
pyutilib/misc/pyyaml_util.py:341:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
baseline = '{\n "Environment Stack": {\n "1": "pca",\n "2": "testing"\n },\n "Interfaces Declared": {\n ...,\n "pyutilib.component.loader.plugin_importLoader": {\n "ImportLoader": null\n }\n }\n}\n'
output = '{\n "Environment Stack": {\n "1": "pca",\n "2": "testing"\n },\n "Interfaces Declared": {\n ... },\n "tasks_yz": {\n "PluginTaskY": null,\n "PluginTaskZ": null\n }\n }\n}\n'
tolerance = 0.0, exact = False, using_yaml = False
def compare_strings(baseline,
output,
tolerance=0.0,
exact=True,
using_yaml=True):
if using_yaml:
try:
baseline_repn = load_yaml(baseline)
output_repn = load_yaml(output)
except ImportError:
raise IOError(
"Cannot compare YAML strings because YAML is not available")
else:
try:
baseline_repn = load_json(baseline)
except ImportError:
raise IOError(
"Cannot compare JSON strings because JSON is not available")
except Exception:
print("Problem parsing JSON baseline")
print(baseline)
raise
try:
output_repn = load_json(output)
except Exception:
print("Problem parsing JSON output")
print(output)
raise
> compare_repn(
baseline_repn,
output_repn,
tolerance=tolerance,
exact=exact,
using_yaml=using_yaml)
pyutilib/misc/pyyaml_util.py:317:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
baseline = {'Environment Stack': {'1': 'pca', '2': 'testing'}, 'Interfaces Declared': {'IConfiguration': None, 'IDebug1': None, '...None}, 'IDebug3': {'Plugin5': None, 'Plugin5_factory': None, 'Plugin6': None, 'Plugin6_factory': None, ...}, ...}, ...}
output = {'Environment Stack': {'1': 'pca', '2': 'testing'}, 'Interfaces Declared': {'IConfiguration': None, 'IEnvironmentConfi...nalExecutable': {'ExternalExecutable': None}, 'IFileOption': {'ExecutableOption': None, 'FileOption': None}, ...}, ...}
tolerance = 0.0, prefix = '<root>', exact = False, using_yaml = False
def compare_repn(baseline,
output,
tolerance=0.0,
prefix="<root>",
exact=True,
using_yaml=True):
if type(baseline) != type(output) and not (
type(baseline) in [int, float] and type(output) in [int, float]):
raise IOError(
"(%s) Structural difference:\nbaseline:\n%s\noutput:\n%s" %
(prefix, pprint.pformat(baseline), pprint.pformat(output)))
#
if type(baseline) is list:
if not exact and len(baseline) > len(output):
raise IOError(
"(%s) Baseline has longer list than output:\nbaseline:\n%s\noutput:\n%s"
% (prefix, pprint.pformat(baseline), pprint.pformat(output)))
if exact and len(baseline) != len(output):
raise IOError(
"(%s) Baseline list length does not equal output list:\nbaseline:\n%s\noutput:\n%s"
% (prefix, pprint.pformat(baseline), pprint.pformat(output)))
j = 0
i = 0
msg = ''
while j < len(baseline) and i < len(output):
try:
compare_repn(
baseline[j],
output[i],
tolerance=tolerance,
prefix=prefix + "[" + str(i) + "]",
exact=exact,
using_yaml=using_yaml)
j += 1
except Exception:
msg = sys.exc_info()[1]
print(msg)
pass
i += 1
if j < len(baseline):
raise IOError(
"(%s) Could not find item %d in output list:\nbaseline:\n%s\noutput:\n%s\nERROR: %s"
% (prefix, j, pprint.pformat(baseline), pprint.pformat(output),
msg))
#
elif type(baseline) is dict or type(baseline) is OrderedDict:
if exact and len(baseline.keys()) != len(output.keys()):
raise IOError(
"(%s) Baseline and output have different keys:\nbaseline:\n%s\noutput:\n%s"
% (prefix, pprint.pformat(baseline.keys()),
pprint.pformat(output.keys())))
for key in baseline:
if not key in output:
raise IOError(
"(%s) Baseline key %s that does not exist in output:baseline:\n%s\noutput:\n%s"
% (prefix, key, pprint.pformat(baseline.keys()),
pprint.pformat(output.keys())))
> compare_repn(
baseline[key],
output[key],
tolerance=tolerance,
prefix=prefix + "." + str(key),
exact=exact,
using_yaml=using_yaml)
pyutilib/misc/pyyaml_util.py:270:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
baseline = {'IConfiguration': None, 'IDebug1': None, 'IDebug2': None, 'IDebug3': None, ...}
output = {'IConfiguration': None, 'IEnvironmentConfig': None, 'IExternalExecutable': None, 'IFileOption': None, ...}, tolerance = 0.0, prefix = '<root>.Interfaces Declared'
exact = False, using_yaml = False
def compare_repn(baseline,
output,
tolerance=0.0,
prefix="<root>",
exact=True,
using_yaml=True):
if type(baseline) != type(output) and not (
type(baseline) in [int, float] and type(output) in [int, float]):
raise IOError(
"(%s) Structural difference:\nbaseline:\n%s\noutput:\n%s" %
(prefix, pprint.pformat(baseline), pprint.pformat(output)))
#
if type(baseline) is list:
if not exact and len(baseline) > len(output):
raise IOError(
"(%s) Baseline has longer list than output:\nbaseline:\n%s\noutput:\n%s"
% (prefix, pprint.pformat(baseline), pprint.pformat(output)))
if exact and len(baseline) != len(output):
raise IOError(
"(%s) Baseline list length does not equal output list:\nbaseline:\n%s\noutput:\n%s"
% (prefix, pprint.pformat(baseline), pprint.pformat(output)))
j = 0
i = 0
msg = ''
while j < len(baseline) and i < len(output):
try:
compare_repn(
baseline[j],
output[i],
tolerance=tolerance,
prefix=prefix + "[" + str(i) + "]",
exact=exact,
using_yaml=using_yaml)
j += 1
except Exception:
msg = sys.exc_info()[1]
print(msg)
pass
i += 1
if j < len(baseline):
raise IOError(
"(%s) Could not find item %d in output list:\nbaseline:\n%s\noutput:\n%s\nERROR: %s"
% (prefix, j, pprint.pformat(baseline), pprint.pformat(output),
msg))
#
elif type(baseline) is dict or type(baseline) is OrderedDict:
if exact and len(baseline.keys()) != len(output.keys()):
raise IOError(
"(%s) Baseline and output have different keys:\nbaseline:\n%s\noutput:\n%s"
% (prefix, pprint.pformat(baseline.keys()),
pprint.pformat(output.keys())))
for key in baseline:
if not key in output:
> raise IOError(
"(%s) Baseline key %s that does not exist in output:baseline:\n%s\noutput:\n%s"
% (prefix, key, pprint.pformat(baseline.keys()),
pprint.pformat(output.keys())))
E OSError: (<root>.Interfaces Declared) Baseline key IDebug1 that does not exist in output:baseline:
E dict_keys(['IConfiguration', 'IDebug1', 'IDebug2', 'IDebug3', 'IDebug4', 'IEnvironmentConfig', 'IExternalExecutable', 'IFileOption', 'IIgnorePluginWhenLoading', 'IOption', 'IOptionDataProvider', 'IPluginLoadPath', 'IPluginLoader', 'ITempfileManager', 'IUpdatedOptionsAction'])
E output:
E dict_keys(['IConfiguration', 'IEnvironmentConfig', 'IExternalExecutable', 'IFileOption', 'IFunctorTask', 'IIgnorePluginWhenLoading', 'IOption', 'IOptionDataProvider', 'IPluginLoadPath', 'IPluginLoader', 'ITempfileManager', 'ITestDriver', 'ITestParser', 'IUpdatedOptionsAction', 'IWorkflowTask'])
pyutilib/misc/pyyaml_util.py:266: OSError
During handling of the above exception, another exception occurred:
self = <pyutilib.component.core.tests.test_core.TestManager testMethod=test_factory>
def test_factory(self):
class Plugin5_factory(Plugin):
implements(IDebug3, service=True)
class Plugin6_factory(Plugin, PluginEnvironment):
implements(IDebug3, service=True)
def __init__(self, **kwds):
Plugin.__init__(self, **kwds)
PluginEnvironment.__init__(self, "plugin6_factory")
PluginFactory("Plugin6_factory", name="p6")
PluginFactory("Plugin5_factory", name="p5")
PluginFactory("Plugin6_factory")
try:
PluginFactory("__foo__")
self.fail("expected error")
except PluginError:
pass
pyutilib.misc.setup_redirect(currdir + "factory.out")
PluginGlobals.pprint(plugins=False, json=True)
pyutilib.misc.reset_redirect()
> self.assertMatchesJsonBaseline(currdir + "factory.out",
currdir + "factory.jsn")
pyutilib/component/core/tests/test_core.py:480:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
pyutilib/th/pyunit.py:348: in assertMatchesJsonBaseline
self.fail("JSON testfile does not match the baseline:\n testfile="
E AssertionError: JSON testfile does not match the baseline:
E testfile=/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/component/core/tests/factory.out
E baseline=/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/component/core/tests/factory.jsn
E (<root>.Interfaces Declared) Baseline key IDebug1 that does not exist in output:baseline:
E dict_keys(['IConfiguration', 'IDebug1', 'IDebug2', 'IDebug3', 'IDebug4', 'IEnvironmentConfig', 'IExternalExecutable', 'IFileOption', 'IIgnorePluginWhenLoading', 'IOption', 'IOptionDataProvider', 'IPluginLoadPath', 'IPluginLoader', 'ITempfileManager', 'IUpdatedOptionsAction'])
E output:
E dict_keys(['IConfiguration', 'IEnvironmentConfig', 'IExternalExecutable', 'IFileOption', 'IFunctorTask', 'IIgnorePluginWhenLoading', 'IOption', 'IOptionDataProvider', 'IPluginLoadPath', 'IPluginLoader', 'ITempfileManager', 'ITestDriver', 'ITestParser', 'IUpdatedOptionsAction', 'IWorkflowTask'])
____________________________________________________________________________ Test.test_valgrind ____________________________________________________________________________
self = <pyutilib.subprocess.tests.test_subprocess.Test testMethod=test_valgrind>
@unittest.skipIf(_mswindows,
"Cannot test the use of 'valgrind' on MS Windows")
@unittest.skipIf(not global_valgrind,
"The 'valgrind' executable is not available.")
def test_valgrind(self):
pyutilib.services.register_executable('ls')
pyutilib.subprocess.run(
> pyutilib.services.registered_executable('ls').get_path() + ' *.py',
valgrind=True,
outfile=currdir + 'valgrind.out')
pyutilib/subprocess/tests/test_subprocess.py:96:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
pyutilib/services/services.py:31: in registered_executable
return ep.service(name)
pyutilib/component/core/core.py:243: in service
ans = ExtensionPoint.__call__(self, key=key, all=all)
pyutilib/component/core/core.py:236: in __call__
return self.extensions(all=all, key=key)
pyutilib/component/core/core.py:285: in extensions
elif ((all or plugin.enabled()) and
pyutilib/component/executables/executable.py:63: in enabled
return self._enable and ((self.executable is not None) or
pyutilib/component/config/options.py:339: in __get__
return self._get_option(instance).get_value()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <ExecutableOption [executables] 'ls'>
def get_value(self):
"""
Get the option value.
"""
> return self.data.service().get(self.section, self.name)
E AttributeError: 'NoneType' object has no attribute 'get'
pyutilib/component/config/options.py:210: AttributeError
____________________________________________________________________________ Test.test_example7 ____________________________________________________________________________
self = <test_example.Test testMethod=test_example7>, c1 = '/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/doc/workflow/examples/', c2 = 'example7'
c3 = '/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/doc/workflow/examples/example7.out'
c4 = '/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/doc/workflow/examples/example7.txt', c5 = <function filter at 0x7fc0e1304c10>, c6 = None
> func = lambda self,c1=cwd,c2=module,c3=outfile,c4=baseline,c5=filter,c6=tolerance: _run_import_baseline_test(self,cwd=c1,module=c2,outfile=c3,baseline=c4,filter=c5,tolerance=c6)
pyutilib/th/pyunit.py:493:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
pyutilib/th/pyunit.py:138: in _run_import_baseline_test
pyutilib.misc.import_file(module + ".py", clear_cache=True)
pyutilib/misc/import_file.py:100: in import_file
module = __import__(modulename)
doc/workflow/examples/example7.py:36: in <module>
print(w(dir=currdir+'dummy'))
pyutilib/workflow/task.py:125: in __call__
self.execute()
pyutilib/workflow/workflow.py:206: in execute
if t.ready():
pyutilib/workflow/task.py:98: in ready
if self.busy():
pyutilib/workflow/task.py:116: in busy
return len(self.busy_resources())
pyutilib/workflow/task.py:94: in busy_resources
return [name for name in self._resources
pyutilib/workflow/task.py:95: in <listcomp>
if not self._resources[name].available()]
pyutilib/workflow/executable.py:43: in available
return not pyutilib.services.registered_executable(
pyutilib/services/services.py:31: in registered_executable
return ep.service(name)
pyutilib/component/core/core.py:243: in service
ans = ExtensionPoint.__call__(self, key=key, all=all)
pyutilib/component/core/core.py:236: in __call__
return self.extensions(all=all, key=key)
pyutilib/component/core/core.py:285: in extensions
elif ((all or plugin.enabled()) and
pyutilib/component/executables/executable.py:63: in enabled
return self._enable and ((self.executable is not None) or
pyutilib/component/config/options.py:339: in __get__
return self._get_option(instance).get_value()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <ExecutableOption [executables] 'ls'>
def get_value(self):
"""
Get the option value.
"""
> return self.data.service().get(self.section, self.name)
E AttributeError: 'NoneType' object has no attribute 'get'
pyutilib/component/config/options.py:210: AttributeError
___________________________________________________________________________ Test.test_example7a ____________________________________________________________________________
self = <test_example.Test testMethod=test_example7a>, c1 = '/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/doc/workflow/examples/', c2 = 'example7a'
c3 = '/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/doc/workflow/examples/example7a.out'
c4 = '/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/doc/workflow/examples/example7a.txt', c5 = <function filter at 0x7fc0e1304c10>, c6 = None
> func = lambda self,c1=cwd,c2=module,c3=outfile,c4=baseline,c5=filter,c6=tolerance: _run_import_baseline_test(self,cwd=c1,module=c2,outfile=c3,baseline=c4,filter=c5,tolerance=c6)
pyutilib/th/pyunit.py:493:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
pyutilib/th/pyunit.py:138: in _run_import_baseline_test
pyutilib.misc.import_file(module + ".py", clear_cache=True)
pyutilib/misc/import_file.py:100: in import_file
module = __import__(modulename)
doc/workflow/examples/example7a.py:36: in <module>
print(w(dir=currdir+'dummy'))
pyutilib/workflow/task.py:125: in __call__
self.execute()
pyutilib/workflow/workflow.py:206: in execute
if t.ready():
pyutilib/workflow/task.py:98: in ready
if self.busy():
pyutilib/workflow/task.py:116: in busy
return len(self.busy_resources())
pyutilib/workflow/task.py:94: in busy_resources
return [name for name in self._resources
pyutilib/workflow/task.py:95: in <listcomp>
if not self._resources[name].available()]
pyutilib/workflow/executable.py:43: in available
return not pyutilib.services.registered_executable(
pyutilib/services/services.py:31: in registered_executable
return ep.service(name)
pyutilib/component/core/core.py:243: in service
ans = ExtensionPoint.__call__(self, key=key, all=all)
pyutilib/component/core/core.py:236: in __call__
return self.extensions(all=all, key=key)
pyutilib/component/core/core.py:285: in extensions
elif ((all or plugin.enabled()) and
pyutilib/component/executables/executable.py:63: in enabled
return self._enable and ((self.executable is not None) or
pyutilib/component/config/options.py:339: in __get__
return self._get_option(instance).get_value()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <ExecutableOption [executables] 'ls'>
def get_value(self):
"""
Get the option value.
"""
> return self.data.service().get(self.section, self.name)
E AttributeError: 'NoneType' object has no attribute 'get'
pyutilib/component/config/options.py:210: AttributeError
============================================================================= warnings summary =============================================================================
pyutilib/component/config/tests/test_options.py:155
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/component/config/tests/test_options.py:155: DeprecationWarning: invalid escape sequence \<
if re.match("\<Option \[globals\] 'o1'\>",
pyutilib/component/config/tests/test_options.py:160
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/component/config/tests/test_options.py:160: DeprecationWarning: invalid escape sequence \<
re.match("\<Option \[globals\] 'o1'\>", str(ep.service("o1"))) is
pyutilib/component/config/tests/test_options.py:163
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/component/config/tests/test_options.py:163: DeprecationWarning: invalid escape sequence \<
re.match("\<Option \[foo\] 'o2'\>", str(ep.service("o2"))) is None)
pyutilib/dev/tests/test_runtests.py:30
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/dev/tests/test_runtests.py:30: DeprecationWarning: invalid escape sequence \S
g = re.match('(\S+) \(([^\)]+)\)', line)
pyutilib/misc/tests/test_config.py:1076
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/misc/tests/test_config.py:1076: DeprecationWarning: invalid escape sequence \{
stripped_reference = re.sub('\{[^\}]*\}','',reference,flags=re.M)
pyutilib/misc/config.py:10
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/misc/config.py:10: DeprecationWarning: invalid escape sequence \h
"""=================================
pyutilib/misc/tests/test_misc.py:208
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/misc/tests/test_misc.py:208: DeprecationWarning: invalid escape sequence \
ans = pyutilib.misc.quote_split(' ', "a b\ c")
pyutilib/misc/tests/test_misc.py:209
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/misc/tests/test_misc.py:209: DeprecationWarning: invalid escape sequence \
self.assertEqual(ans, ["a", 'b\ c'])
pyutilib/misc/tests/test_config.py::Test::test_block_get
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/misc/tests/test_config.py:1082: DeprecationWarning: Please use assertNotEqual instead.
self.assertNotEquals(
pyutilib/misc/tests/test_config.py::Test::test_block_get
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/misc/tests/test_config.py:1085: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(
pyutilib/misc/tests/test_config.py::Test::test_list_get
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/misc/tests/test_config.py:1262: DeprecationWarning: Please use assertRaisesRegex instead.
self.assertRaisesRegexp(
pyutilib/misc/tests/test_config.py::Test::test_list_get
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/misc/tests/test_config.py:1282: DeprecationWarning: Please use assertRaisesRegex instead.
self.assertRaisesRegexp(
pyutilib/misc/tests/test_config.py::Test::test_setdefault
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/misc/tests/test_config.py:1122: DeprecationWarning: Please use assertRaisesRegex instead.
self.assertRaisesRegexp(ValueError, '.*disallows implicit entries',
pyutilib/misc/tests/test_import.py::TestRunFile::test_run_file_exception
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/misc/tests/test_import.py:59: DeprecationWarning: Please use assertRaisesRegex instead.
with self.assertRaisesRegexp(RuntimeError, "raised from __main__"):
pyutilib/misc/tests/test_import.py::TestImportFile::test_import_exception
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/misc/tests/test_import.py:103: DeprecationWarning: Please use assertRaisesRegex instead.
with self.assertRaisesRegexp(RuntimeError, "raised during import"):
pyutilib/misc/tests/test_log_config.py::TestLogging::test_alternate_base
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/misc/tests/test_log_config.py:61: DeprecationWarning: The 'warn' method is deprecated, use 'warning' instead
logger.warn("(warn)")
pyutilib/misc/tests/test_log_config.py::TestLogging::test_long_messages
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/misc/tests/test_log_config.py:145: DeprecationWarning: The 'warn' method is deprecated, use 'warning' instead
logger.warn(msg)
pyutilib/misc/tests/test_log_config.py::TestLogging::test_long_messages
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/misc/tests/test_log_config.py:165: DeprecationWarning: The 'warn' method is deprecated, use 'warning' instead
logger.warn(msg)
pyutilib/misc/tests/test_log_config.py::TestLogging::test_long_messages
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/misc/tests/test_log_config.py:185: DeprecationWarning: The 'warn' method is deprecated, use 'warning' instead
logger.warn(msg)
pyutilib/misc/tests/test_log_config.py::TestLogging::test_no_base
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/misc/tests/test_log_config.py:75: DeprecationWarning: The 'warn' method is deprecated, use 'warning' instead
logger.warn("(warn)")
pyutilib/misc/tests/test_log_config.py::TestLogging::test_no_message
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/misc/tests/test_log_config.py:92: DeprecationWarning: The 'warn' method is deprecated, use 'warning' instead
logger.warn("")
pyutilib/misc/tests/test_log_config.py::TestLogging::test_no_message
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/misc/tests/test_log_config.py:97: DeprecationWarning: The 'warn' method is deprecated, use 'warning' instead
logger.warn("")
pyutilib/misc/tests/test_log_config.py::TestLogging::test_simple_log
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/misc/tests/test_log_config.py:41: DeprecationWarning: The 'warn' method is deprecated, use 'warning' instead
logger.warn("(warn)")
pyutilib/misc/tests/test_log_config.py::TestLogging::test_simple_log
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/misc/tests/test_log_config.py:46: DeprecationWarning: The 'warn' method is deprecated, use 'warning' instead
logger.warn("(warn)")
pyutilib/workflow/tests/test_task.py::TestData::test1
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:44: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(len(data._dirty_), 0)
pyutilib/workflow/tests/test_task.py::TestData::test2
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:62: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(len(data._dirty_), 0)
pyutilib/workflow/tests/test_task.py: 43 warnings
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/functor.py:211: DeprecationWarning: inspect.getargspec() is deprecated since Python 3.0, use inspect.signature() or inspect.getfullargspec()
argspec = inspect.getargspec(fn)
pyutilib/workflow/tests/test_task.py::TestAPI::test1
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:117: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.a, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test1
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:118: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.b, [2, 2])
pyutilib/workflow/tests/test_task.py::TestAPI::test1
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:120: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.a, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test1
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:121: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.b, [2, 2])
pyutilib/workflow/tests/test_task.py::TestAPI::test1a
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:143: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.a, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test1a
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:144: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.b, [2, 2])
pyutilib/workflow/tests/test_task.py::TestAPI::test1a
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:146: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.a, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test1a
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:147: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.b, [2, 2])
pyutilib/workflow/tests/test_task.py::TestAPI::test1b
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:161: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.a, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test1b
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:162: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.b, [2, 2])
pyutilib/workflow/tests/test_task.py::TestAPI::test1b
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:164: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.a, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test1b
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:165: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.b, [2, 2])
pyutilib/workflow/tests/test_task.py::TestAPI::test2
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:180: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.a, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test2
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:181: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.b, [2, 2])
pyutilib/workflow/tests/test_task.py::TestAPI::test2
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:183: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.a, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test2
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:184: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.b, [2, 2])
pyutilib/workflow/tests/test_task.py::TestAPI::test2a
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:205: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.a, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test2a
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:206: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.b, [2, 2])
pyutilib/workflow/tests/test_task.py::TestAPI::test2a
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:208: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.a, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test2a
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:209: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.b, [2, 2])
pyutilib/workflow/tests/test_task.py::TestAPI::test3
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:230: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.a, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test3
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:231: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.b, [2, 2])
pyutilib/workflow/tests/test_task.py::TestAPI::test3
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:233: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.a, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test3
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:234: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.b, [2, 2])
pyutilib/workflow/tests/test_task.py::TestAPI::test3a
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:255: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.a, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test3a
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:256: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.b, [2, 2])
pyutilib/workflow/tests/test_task.py::TestAPI::test3a
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:258: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.a, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test3a
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:259: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.b, [2, 2])
pyutilib/workflow/tests/test_task.py::TestAPI::test4
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:283: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.a, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test4
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:284: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.b, [2, 2])
pyutilib/workflow/tests/test_task.py::TestAPI::test4
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:286: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.a, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test4
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:287: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.b, [2, 2])
pyutilib/workflow/tests/test_task.py::TestAPI::test5
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:312: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.a, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test5
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:313: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.b, [2, 2])
pyutilib/workflow/tests/test_task.py::TestAPI::test5
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:315: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.a, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test5
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:316: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.b, [2, 2])
pyutilib/workflow/tests/test_task.py::TestAPI::test5
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:317: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.z, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test5a
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:372: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.a, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test5a
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:373: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.b, [2, 2])
pyutilib/workflow/tests/test_task.py::TestAPI::test5a
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:375: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.a, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test5a
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:376: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.b, [2, 2])
pyutilib/workflow/tests/test_task.py::TestAPI::test5a
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:377: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.z, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test6
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:342: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.a, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test6
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:343: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.b, [2, 2])
pyutilib/workflow/tests/test_task.py::TestAPI::test6
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:345: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.a, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test6
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:346: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.b, [2, 2])
pyutilib/workflow/tests/test_task.py::TestAPI::test6
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:347: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.z, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test6a
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:402: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.a, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test6a
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:403: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.b, [2, 2])
pyutilib/workflow/tests/test_task.py::TestAPI::test6a
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:405: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.a, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test6a
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:406: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.b, [2, 2])
pyutilib/workflow/tests/test_task.py::TestAPI::test6a
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:407: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.z, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test7a
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:428: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.a, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test7a
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:429: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.b, [2, 2])
pyutilib/workflow/tests/test_task.py::TestAPI::test7a
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:431: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.a, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test7a
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:432: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.b, [2, 2])
pyutilib/workflow/tests/test_task.py::TestAPI::test7b
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:454: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.a, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test7b
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:455: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.b, [2, 2])
pyutilib/workflow/tests/test_task.py::TestAPI::test7b
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:457: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.a, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test7b
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:458: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.b, [2, 2])
pyutilib/workflow/tests/test_task.py::TestAPI::test7c
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:482: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.a, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test7c
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:483: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.b, [2, 2])
pyutilib/workflow/tests/test_task.py::TestAPI::test7c
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:485: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.a, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test7c
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:486: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.b, [2, 2])
pyutilib/workflow/tests/test_task.py::TestAPI::test7c
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:487: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.z, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test8
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:510: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.a, 1)
pyutilib/workflow/tests/test_task.py::TestAPI::test8
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:511: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.b, [1, 2])
pyutilib/workflow/tests/test_task.py::TestAPI::test8
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:512: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.foo.foo, 3)
pyutilib/workflow/tests/test_task.py::TestAPI::test9
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:547: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.a, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test9
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:548: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.b, [2, 2])
pyutilib/workflow/tests/test_task.py::TestAPI::test9
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:550: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.a, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test9
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:551: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.b, [2, 2])
pyutilib/workflow/tests/test_task.py::TestAPI::test9
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:554: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(test9.__short_doc__,
pyutilib/workflow/tests/test_task.py::TestAPI::test9
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:556: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(test9.__long_doc__,
-- Docs: https://docs.pytest.org/en/stable/warnings.html
========================================================================= short test summary info ==========================================================================
SKIPPED [1] pyutilib/excel/tests/test_data.py:179: Cannot import win32com
SKIPPED [1] pyutilib/excel/tests/test_data.py:197: Cannot import win32com
SKIPPED [1] pyutilib/excel/tests/test_data.py:50: Cannot import win32com
SKIPPED [1] pyutilib/excel/tests/test_data.py:149: Cannot import win32com
SKIPPED [1] pyutilib/excel/tests/test_data.py:166: Cannot import win32com
SKIPPED [1] pyutilib/excel/tests/test_data.py:59: Cannot import win32com
SKIPPED [1] pyutilib/excel/tests/test_data.py:70: Cannot import win32com
SKIPPED [1] pyutilib/excel/tests/test_data.py:83: Cannot import win32com
SKIPPED [1] pyutilib/excel/tests/test_data.py:88: Cannot import win32com
SKIPPED [1] pyutilib/excel/tests/test_data.py:95: Cannot import win32com
SKIPPED [1] pyutilib/excel/tests/test_data.py:106: Cannot import win32com
SKIPPED [1] pyutilib/excel/tests/test_data.py:123: Cannot import win32com
SKIPPED [1] pyutilib/excel/tests/test_data.py:136: Cannot import win32com
SKIPPED [1] pyutilib/excel/tests/test_data.py:179: Cannot import openpyxl
SKIPPED [1] pyutilib/excel/tests/test_data.py:197: Cannot import openpyxl
SKIPPED [1] pyutilib/excel/tests/test_data.py:50: Cannot import openpyxl
SKIPPED [1] pyutilib/excel/tests/test_data.py:149: Cannot import openpyxl
SKIPPED [1] pyutilib/excel/tests/test_data.py:166: Cannot import openpyxl
SKIPPED [1] pyutilib/excel/tests/test_data.py:59: Cannot import openpyxl
SKIPPED [1] pyutilib/excel/tests/test_data.py:70: Cannot import openpyxl
SKIPPED [1] pyutilib/excel/tests/test_data.py:83: Cannot import openpyxl
SKIPPED [1] pyutilib/excel/tests/test_data.py:88: Cannot import openpyxl
SKIPPED [1] pyutilib/excel/tests/test_data.py:95: Cannot import openpyxl
SKIPPED [1] pyutilib/excel/tests/test_data.py:106: Cannot import openpyxl
SKIPPED [1] pyutilib/excel/tests/test_data.py:123: Cannot import openpyxl
SKIPPED [1] pyutilib/excel/tests/test_data.py:136: Cannot import openpyxl
SKIPPED [1] pyutilib/excel/tests/test_data.py:179: Cannot import xlrd
SKIPPED [1] pyutilib/excel/tests/test_data.py:197: Cannot import xlrd
SKIPPED [1] pyutilib/excel/tests/test_data.py:50: Cannot import xlrd
SKIPPED [1] pyutilib/excel/tests/test_data.py:149: Cannot import xlrd
SKIPPED [1] pyutilib/excel/tests/test_data.py:166: Cannot import xlrd
SKIPPED [1] pyutilib/excel/tests/test_data.py:59: Cannot import xlrd
SKIPPED [1] pyutilib/excel/tests/test_data.py:70: Cannot import xlrd
SKIPPED [1] pyutilib/excel/tests/test_data.py:83: Cannot import xlrd
SKIPPED [1] pyutilib/excel/tests/test_data.py:88: Cannot import xlrd
SKIPPED [1] pyutilib/excel/tests/test_data.py:95: Cannot import xlrd
SKIPPED [1] pyutilib/excel/tests/test_data.py:106: Cannot import xlrd
SKIPPED [1] pyutilib/excel/tests/test_data.py:123: Cannot import xlrd
SKIPPED [1] pyutilib/excel/tests/test_data.py:136: Cannot import xlrd
SKIPPED [1] pyutilib/subprocess/tests/test_subprocess.py:65: The 'memmon' executable is not available.
SKIPPED [1] pyutilib/workflow/tests/test_core.py:227: There is a slight (space) formatting differences in different Python version... Skipping test.
SKIPPED [1] pyutilib/workflow/tests/test_core.py:351: This test is not portable to different Python version
XFAIL pyutilib/th/tests/test_misc.py::Tester::test2
reason:
XFAIL pyutilib/th/tests/test_misc.py::Tester::test4
reason:
XFAIL pyutilib/th/tests/test_misc.py::Tester::test5
reason:
XFAIL pyutilib/th/tests/test_misc.py::Tester::test6
reason:
XFAIL pyutilib/th/tests/test_misc.py::Tester::test7
reason:
XFAIL pyutilib/th/tests/test_misc.py::Tester::test8
reason:
XFAIL pyutilib/th/tests/test_misc.py::Tester::test8gz
reason:
XFAIL pyutilib/th/tests/test_misc.py::TesterL::test2
reason:
XFAIL pyutilib/th/tests/test_misc.py::TesterL::test4
reason:
XFAIL pyutilib/th/tests/test_misc.py::TesterL::test5
reason:
XFAIL pyutilib/th/tests/test_misc.py::TesterL::test6
reason:
XFAIL pyutilib/th/tests/test_misc.py::TesterL::test7
reason:
XFAIL pyutilib/th/tests/test_misc.py::TesterL::test8
reason:
XFAIL pyutilib/th/tests/test_misc.py::TesterL::test8gz
reason:
XFAIL pyutilib/workflow/tests/test_task.py::TestData::test_err1
reason:
XFAIL pyutilib/workflow/tests/test_task.py::TestData::test_err2
reason:
XFAIL pyutilib/workflow/tests/test_task.py::TestData::test_err3
reason:
XFAIL pyutilib/workflow/tests/test_task.py::TestAPI::test10
reason:
XFAIL pyutilib/workflow/tests/test_task.py::TestAPI::test_err1
reason:
XFAIL pyutilib/workflow/tests/test_task.py::TestAPI::test_err10
reason:
XFAIL pyutilib/workflow/tests/test_task.py::TestAPI::test_err10a
reason:
XFAIL pyutilib/workflow/tests/test_task.py::TestAPI::test_err10b
reason:
XFAIL pyutilib/workflow/tests/test_task.py::TestAPI::test_err11
reason:
XFAIL pyutilib/workflow/tests/test_task.py::TestAPI::test_err12
reason:
XFAIL pyutilib/workflow/tests/test_task.py::TestAPI::test_err13
reason:
XFAIL pyutilib/workflow/tests/test_task.py::TestAPI::test_err2
reason:
XFAIL pyutilib/workflow/tests/test_task.py::TestAPI::test_err3
reason:
XFAIL pyutilib/workflow/tests/test_task.py::TestAPI::test_err4
reason:
XFAIL pyutilib/workflow/tests/test_task.py::TestAPI::test_err5
reason:
XFAIL pyutilib/workflow/tests/test_task.py::TestAPI::test_err6
reason:
XFAIL pyutilib/workflow/tests/test_task.py::TestAPI::test_err7A
reason:
XFAIL pyutilib/workflow/tests/test_task.py::TestAPI::test_err7B
reason:
XFAIL pyutilib/workflow/tests/test_task.py::TestAPI::test_err7C
reason:
XFAIL pyutilib/workflow/tests/test_task.py::TestAPI::test_err7a
reason:
XFAIL pyutilib/workflow/tests/test_task.py::TestAPI::test_err7b
reason:
XFAIL pyutilib/workflow/tests/test_task.py::TestAPI::test_err7c
reason:
XFAIL pyutilib/workflow/tests/test_task.py::TestAPI::test_err8a
reason:
XFAIL pyutilib/workflow/tests/test_task.py::TestAPI::test_err8b
reason:
XFAIL pyutilib/workflow/tests/test_task.py::TestAPI::test_err8c
reason:
XFAIL pyutilib/workflow/tests/test_task.py::TestAPI::test_err9
reason:
FAILED pyutilib/component/core/tests/test_core.py::TestMisc::test_pprint - AssertionError: JSON testfile does not match the baseline:
FAILED pyutilib/component/core/tests/test_core.py::TestManager::test_factory - AssertionError: JSON testfile does not match the baseline:
FAILED pyutilib/subprocess/tests/test_subprocess.py::Test::test_valgrind - AttributeError: 'NoneType' object has no attribute 'get'
FAILED pyutilib/workflow/tests/test_doc.py::Test::test_example7 - AttributeError: 'NoneType' object has no attribute 'get'
FAILED pyutilib/workflow/tests/test_doc.py::Test::test_example7a - AttributeError: 'NoneType' object has no attribute 'get'
=================================================== 5 failed, 514 passed, 42 skipped, 40 xfailed, 143 warnings in 21.98s =================================================== |
I wouldn't expect the tests to run with pytest. Can you clarify how you are setting up and running tests with nosetests? It would be helpful to have a sequence of shell commands that you ran to checkout and try and test PyUtilib. The errors you see with nosetests suggest that there is an issue with your environment, though it's not obvious to me. |
pytest has a lot of extelsioons/plugins and that outpout has been produces on the system where is installed Everything™️. From that point of view it is really good to at least peak on what pytest shows.
What kind of issue? can you tell a little more? :) |
I see 8 failures as well, when running the test suite roughly this way: python3.9 -B setup.py config
|
Actually I found that for my methodology pytest needs to be used sometimes with + PYTHONPATH=/home/tkloczko/rpmbuild/BUILDROOT/python-pyutilib-6.0.0-3.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-pyutilib-6.0.0-3.fc35.x86_64/usr/lib/python3.8/site-packages
+ /usr/bin/pytest -ra --import-mode=importlib --deselect pyutilib/component/core/tests/test_core.py::TestManager::test_factory --deselect pyutilib/component/core/tests/test_core.py::TestMisc::test_pprint --deselect pyutilib/subprocess/tests/test_subprocess.py::Test::test_valgrind --deselect pyutilib/workflow/tests/test_doc.py::Test::test_example7
=========================================================================== test session starts ============================================================================
platform linux -- Python 3.8.11, pytest-6.2.4, py-1.10.0, pluggy-0.13.1
benchmark: 3.4.1 (defaults: timer=time.perf_counter disable_gc=False min_rounds=5 min_time=0.000005 max_time=1.0 calibration_precision=10 warmup=False warmup_iterations=100000)
rootdir: /home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0
plugins: forked-1.3.0, shutil-1.7.0, virtualenv-1.7.0, expect-1.1.0, flake8-1.0.7, timeout-1.4.2, betamax-0.8.1, freezegun-0.4.2, case-1.5.3, aspectlib-1.5.2, toolbox-0.5, rerunfailures-9.1.1, requests-mock-1.9.3, cov-2.12.1, pyfakefs-4.5.0, flaky-3.7.0, benchmark-3.4.1, xdist-2.3.0, pylama-7.7.1, datadir-1.3.1, regressions-2.2.0, cases-3.6.3, xprocess-0.18.1, black-0.3.12, checkdocs-2.7.1, anyio-3.3.0, Faker-8.11.0, asyncio-0.15.1, trio-0.7.0, httpbin-1.0.0, subtests-0.5.0, isort-2.0.0, hypothesis-6.14.6, mock-3.6.1, profiling-1.7.0
collected 610 items / 5 deselected / 605 selected
. . [ 0%]
doc/workflow/examples/test_example.py ...................... [ 3%]
pyutilib/autotest/tests/test_driver.py ............ [ 5%]
pyutilib/component/app/tests/test_simple.py ..... [ 6%]
pyutilib/component/config/tests/test_config.py ........... [ 8%]
pyutilib/component/config/tests/test_options.py .............. [ 10%]
pyutilib/component/config/tests/test_tempdir.py ..................... [ 14%]
pyutilib/component/core/tests/test_core.py ................. [ 17%]
pyutilib/component/loader/tests/test_egg.py .. [ 17%]
pyutilib/component/loader/tests/test_load.py ...... [ 18%]
pyutilib/component/loader/tests/test_load2.py .... [ 19%]
pyutilib/dev/tests/test_runtests.py ........... [ 21%]
pyutilib/excel/tests/test_data.py sssssssssssssssssssssssssssssssssssssss [ 27%]
pyutilib/math/tests/test_math.py ....... [ 28%]
pyutilib/math/tests/test_numtypes.py .. [ 29%]
pyutilib/misc/tests/test_archivereader.py ............................................... [ 37%]
pyutilib/misc/tests/test_config.py .................................................................................. [ 50%]
pyutilib/misc/tests/test_cross.py ... [ 51%]
pyutilib/misc/tests/test_factory.py ...... [ 52%]
pyutilib/misc/tests/test_hierarchical_timer.py . [ 52%]
pyutilib/misc/tests/test_import.py .............................. [ 57%]
pyutilib/misc/tests/test_io.py .......... [ 59%]
pyutilib/misc/tests/test_json.py ................ [ 61%]
pyutilib/misc/tests/test_log_config.py ...... [ 62%]
pyutilib/misc/tests/test_method.py .. [ 63%]
pyutilib/misc/tests/test_misc.py .............................. [ 68%]
pyutilib/misc/tests/test_singleton.py .. [ 68%]
pyutilib/misc/tests/test_smap.py ...... [ 69%]
pyutilib/misc/tests/test_visitor.py ........ [ 70%]
pyutilib/misc/tests/test_xml.py ................ [ 73%]
pyutilib/misc/tests/test_yaml.py .......................... [ 77%]
pyutilib/subprocess/tests/test_subprocess.py .s...... [ 79%]
pyutilib/th/tests/test_misc.py .x..xxxxxx.x..xxxxxx [ 82%]
pyutilib/th/tests/test_pyunit.py ................ [ 85%]
pyutilib/workflow/tests/test_core.py ....s....s............. [ 89%]
pyutilib/workflow/tests/test_doc.py .................... [ 92%]
pyutilib/workflow/tests/test_task.py ..xxx.x................xxxxxxxxxxxxxxxxxxxxxx [100%]
============================================================================= warnings summary =============================================================================
pyutilib/component/config/tests/test_options.py:155
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/component/config/tests/test_options.py:155: DeprecationWarning: invalid escape sequence \<
if re.match("\<Option \[globals\] 'o1'\>",
pyutilib/component/config/tests/test_options.py:160
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/component/config/tests/test_options.py:160: DeprecationWarning: invalid escape sequence \<
re.match("\<Option \[globals\] 'o1'\>", str(ep.service("o1"))) is
pyutilib/component/config/tests/test_options.py:163
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/component/config/tests/test_options.py:163: DeprecationWarning: invalid escape sequence \<
re.match("\<Option \[foo\] 'o2'\>", str(ep.service("o2"))) is None)
pyutilib/dev/tests/test_runtests.py:30
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/dev/tests/test_runtests.py:30: DeprecationWarning: invalid escape sequence \S
g = re.match('(\S+) \(([^\)]+)\)', line)
pyutilib/misc/tests/test_config.py:1076
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/misc/tests/test_config.py:1076: DeprecationWarning: invalid escape sequence \{
stripped_reference = re.sub('\{[^\}]*\}','',reference,flags=re.M)
pyutilib/misc/tests/test_misc.py:208
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/misc/tests/test_misc.py:208: DeprecationWarning: invalid escape sequence \
ans = pyutilib.misc.quote_split(' ', "a b\ c")
pyutilib/misc/tests/test_misc.py:209
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/misc/tests/test_misc.py:209: DeprecationWarning: invalid escape sequence \
self.assertEqual(ans, ["a", 'b\ c'])
pyutilib/misc/tests/test_config.py::Test::test_block_get
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/misc/tests/test_config.py:1082: DeprecationWarning: Please use assertNotEqual instead.
self.assertNotEquals(
pyutilib/misc/tests/test_config.py::Test::test_block_get
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/misc/tests/test_config.py:1085: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(
pyutilib/misc/tests/test_config.py::Test::test_list_get
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/misc/tests/test_config.py:1262: DeprecationWarning: Please use assertRaisesRegex instead.
self.assertRaisesRegexp(
pyutilib/misc/tests/test_config.py::Test::test_list_get
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/misc/tests/test_config.py:1282: DeprecationWarning: Please use assertRaisesRegex instead.
self.assertRaisesRegexp(
pyutilib/misc/tests/test_config.py::Test::test_setdefault
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/misc/tests/test_config.py:1122: DeprecationWarning: Please use assertRaisesRegex instead.
self.assertRaisesRegexp(ValueError, '.*disallows implicit entries',
pyutilib/misc/tests/test_import.py::TestRunFile::test_run_file_exception
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/misc/tests/test_import.py:59: DeprecationWarning: Please use assertRaisesRegex instead.
with self.assertRaisesRegexp(RuntimeError, "raised from __main__"):
pyutilib/misc/tests/test_import.py::TestImportFile::test_import_exception
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/misc/tests/test_import.py:103: DeprecationWarning: Please use assertRaisesRegex instead.
with self.assertRaisesRegexp(RuntimeError, "raised during import"):
pyutilib/misc/tests/test_log_config.py::TestLogging::test_alternate_base
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/misc/tests/test_log_config.py:61: DeprecationWarning: The 'warn' method is deprecated, use 'warning' instead
logger.warn("(warn)")
pyutilib/misc/tests/test_log_config.py::TestLogging::test_long_messages
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/misc/tests/test_log_config.py:145: DeprecationWarning: The 'warn' method is deprecated, use 'warning' instead
logger.warn(msg)
pyutilib/misc/tests/test_log_config.py::TestLogging::test_long_messages
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/misc/tests/test_log_config.py:165: DeprecationWarning: The 'warn' method is deprecated, use 'warning' instead
logger.warn(msg)
pyutilib/misc/tests/test_log_config.py::TestLogging::test_long_messages
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/misc/tests/test_log_config.py:185: DeprecationWarning: The 'warn' method is deprecated, use 'warning' instead
logger.warn(msg)
pyutilib/misc/tests/test_log_config.py::TestLogging::test_no_base
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/misc/tests/test_log_config.py:75: DeprecationWarning: The 'warn' method is deprecated, use 'warning' instead
logger.warn("(warn)")
pyutilib/misc/tests/test_log_config.py::TestLogging::test_no_message
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/misc/tests/test_log_config.py:92: DeprecationWarning: The 'warn' method is deprecated, use 'warning' instead
logger.warn("")
pyutilib/misc/tests/test_log_config.py::TestLogging::test_no_message
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/misc/tests/test_log_config.py:97: DeprecationWarning: The 'warn' method is deprecated, use 'warning' instead
logger.warn("")
pyutilib/misc/tests/test_log_config.py::TestLogging::test_simple_log
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/misc/tests/test_log_config.py:41: DeprecationWarning: The 'warn' method is deprecated, use 'warning' instead
logger.warn("(warn)")
pyutilib/misc/tests/test_log_config.py::TestLogging::test_simple_log
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/misc/tests/test_log_config.py:46: DeprecationWarning: The 'warn' method is deprecated, use 'warning' instead
logger.warn("(warn)")
pyutilib/workflow/tests/test_task.py::TestData::test1
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:44: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(len(data._dirty_), 0)
pyutilib/workflow/tests/test_task.py::TestData::test2
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:62: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(len(data._dirty_), 0)
pyutilib/workflow/tests/test_task.py: 43 warnings
/home/tkloczko/rpmbuild/BUILDROOT/python-pyutilib-6.0.0-3.fc35.x86_64/usr/lib/python3.8/site-packages/pyutilib/workflow/functor.py:211: DeprecationWarning: inspect.getargspec() is deprecated since Python 3.0, use inspect.signature() or inspect.getfullargspec()
argspec = inspect.getargspec(fn)
pyutilib/workflow/tests/test_task.py::TestAPI::test1
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:117: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.a, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test1
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:118: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.b, [2, 2])
pyutilib/workflow/tests/test_task.py::TestAPI::test1
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:120: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.a, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test1
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:121: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.b, [2, 2])
pyutilib/workflow/tests/test_task.py::TestAPI::test1a
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:143: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.a, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test1a
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:144: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.b, [2, 2])
pyutilib/workflow/tests/test_task.py::TestAPI::test1a
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:146: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.a, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test1a
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:147: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.b, [2, 2])
pyutilib/workflow/tests/test_task.py::TestAPI::test1b
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:161: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.a, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test1b
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:162: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.b, [2, 2])
pyutilib/workflow/tests/test_task.py::TestAPI::test1b
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:164: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.a, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test1b
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:165: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.b, [2, 2])
pyutilib/workflow/tests/test_task.py::TestAPI::test2
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:180: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.a, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test2
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:181: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.b, [2, 2])
pyutilib/workflow/tests/test_task.py::TestAPI::test2
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:183: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.a, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test2
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:184: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.b, [2, 2])
pyutilib/workflow/tests/test_task.py::TestAPI::test2a
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:205: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.a, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test2a
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:206: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.b, [2, 2])
pyutilib/workflow/tests/test_task.py::TestAPI::test2a
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:208: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.a, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test2a
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:209: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.b, [2, 2])
pyutilib/workflow/tests/test_task.py::TestAPI::test3
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:230: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.a, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test3
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:231: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.b, [2, 2])
pyutilib/workflow/tests/test_task.py::TestAPI::test3
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:233: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.a, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test3
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:234: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.b, [2, 2])
pyutilib/workflow/tests/test_task.py::TestAPI::test3a
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:255: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.a, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test3a
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:256: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.b, [2, 2])
pyutilib/workflow/tests/test_task.py::TestAPI::test3a
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:258: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.a, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test3a
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:259: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.b, [2, 2])
pyutilib/workflow/tests/test_task.py::TestAPI::test4
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:283: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.a, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test4
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:284: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.b, [2, 2])
pyutilib/workflow/tests/test_task.py::TestAPI::test4
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:286: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.a, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test4
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:287: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.b, [2, 2])
pyutilib/workflow/tests/test_task.py::TestAPI::test5
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:312: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.a, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test5
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:313: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.b, [2, 2])
pyutilib/workflow/tests/test_task.py::TestAPI::test5
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:315: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.a, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test5
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:316: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.b, [2, 2])
pyutilib/workflow/tests/test_task.py::TestAPI::test5
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:317: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.z, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test5a
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:372: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.a, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test5a
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:373: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.b, [2, 2])
pyutilib/workflow/tests/test_task.py::TestAPI::test5a
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:375: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.a, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test5a
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:376: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.b, [2, 2])
pyutilib/workflow/tests/test_task.py::TestAPI::test5a
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:377: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.z, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test6
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:342: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.a, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test6
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:343: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.b, [2, 2])
pyutilib/workflow/tests/test_task.py::TestAPI::test6
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:345: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.a, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test6
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:346: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.b, [2, 2])
pyutilib/workflow/tests/test_task.py::TestAPI::test6
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:347: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.z, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test6a
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:402: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.a, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test6a
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:403: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.b, [2, 2])
pyutilib/workflow/tests/test_task.py::TestAPI::test6a
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:405: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.a, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test6a
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:406: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.b, [2, 2])
pyutilib/workflow/tests/test_task.py::TestAPI::test6a
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:407: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.z, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test7a
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:428: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.a, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test7a
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:429: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.b, [2, 2])
pyutilib/workflow/tests/test_task.py::TestAPI::test7a
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:431: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.a, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test7a
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:432: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.b, [2, 2])
pyutilib/workflow/tests/test_task.py::TestAPI::test7b
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:454: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.a, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test7b
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:455: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.b, [2, 2])
pyutilib/workflow/tests/test_task.py::TestAPI::test7b
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:457: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.a, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test7b
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:458: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.b, [2, 2])
pyutilib/workflow/tests/test_task.py::TestAPI::test7c
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:482: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.a, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test7c
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:483: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.b, [2, 2])
pyutilib/workflow/tests/test_task.py::TestAPI::test7c
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:485: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.a, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test7c
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:486: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.b, [2, 2])
pyutilib/workflow/tests/test_task.py::TestAPI::test7c
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:487: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.z, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test8
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:510: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.a, 1)
pyutilib/workflow/tests/test_task.py::TestAPI::test8
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:511: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.b, [1, 2])
pyutilib/workflow/tests/test_task.py::TestAPI::test8
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:512: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.foo.foo, 3)
pyutilib/workflow/tests/test_task.py::TestAPI::test9
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:547: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.a, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test9
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:548: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.b, [2, 2])
pyutilib/workflow/tests/test_task.py::TestAPI::test9
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:550: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.a, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test9
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:551: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.b, [2, 2])
pyutilib/workflow/tests/test_task.py::TestAPI::test9
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:554: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(test9.__short_doc__,
pyutilib/workflow/tests/test_task.py::TestAPI::test9
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:556: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(test9.__long_doc__,
-- Docs: https://docs.pytest.org/en/stable/warnings.html
========================================================================= short test summary info ==========================================================================
SKIPPED [1] pyutilib/excel/tests/test_data.py:179: Cannot import win32com
SKIPPED [1] pyutilib/excel/tests/test_data.py:197: Cannot import win32com
SKIPPED [1] pyutilib/excel/tests/test_data.py:50: Cannot import win32com
SKIPPED [1] pyutilib/excel/tests/test_data.py:149: Cannot import win32com
SKIPPED [1] pyutilib/excel/tests/test_data.py:166: Cannot import win32com
SKIPPED [1] pyutilib/excel/tests/test_data.py:59: Cannot import win32com
SKIPPED [1] pyutilib/excel/tests/test_data.py:70: Cannot import win32com
SKIPPED [1] pyutilib/excel/tests/test_data.py:83: Cannot import win32com
SKIPPED [1] pyutilib/excel/tests/test_data.py:88: Cannot import win32com
SKIPPED [1] pyutilib/excel/tests/test_data.py:95: Cannot import win32com
SKIPPED [1] pyutilib/excel/tests/test_data.py:106: Cannot import win32com
SKIPPED [1] pyutilib/excel/tests/test_data.py:123: Cannot import win32com
SKIPPED [1] pyutilib/excel/tests/test_data.py:136: Cannot import win32com
SKIPPED [1] pyutilib/excel/tests/test_data.py:179: Cannot import openpyxl
SKIPPED [1] pyutilib/excel/tests/test_data.py:197: Cannot import openpyxl
SKIPPED [1] pyutilib/excel/tests/test_data.py:50: Cannot import openpyxl
SKIPPED [1] pyutilib/excel/tests/test_data.py:149: Cannot import openpyxl
SKIPPED [1] pyutilib/excel/tests/test_data.py:166: Cannot import openpyxl
SKIPPED [1] pyutilib/excel/tests/test_data.py:59: Cannot import openpyxl
SKIPPED [1] pyutilib/excel/tests/test_data.py:70: Cannot import openpyxl
SKIPPED [1] pyutilib/excel/tests/test_data.py:83: Cannot import openpyxl
SKIPPED [1] pyutilib/excel/tests/test_data.py:88: Cannot import openpyxl
SKIPPED [1] pyutilib/excel/tests/test_data.py:95: Cannot import openpyxl
SKIPPED [1] pyutilib/excel/tests/test_data.py:106: Cannot import openpyxl
SKIPPED [1] pyutilib/excel/tests/test_data.py:123: Cannot import openpyxl
SKIPPED [1] pyutilib/excel/tests/test_data.py:136: Cannot import openpyxl
SKIPPED [1] pyutilib/excel/tests/test_data.py:179: Cannot import xlrd
SKIPPED [1] pyutilib/excel/tests/test_data.py:197: Cannot import xlrd
SKIPPED [1] pyutilib/excel/tests/test_data.py:50: Cannot import xlrd
SKIPPED [1] pyutilib/excel/tests/test_data.py:149: Cannot import xlrd
SKIPPED [1] pyutilib/excel/tests/test_data.py:166: Cannot import xlrd
SKIPPED [1] pyutilib/excel/tests/test_data.py:59: Cannot import xlrd
SKIPPED [1] pyutilib/excel/tests/test_data.py:70: Cannot import xlrd
SKIPPED [1] pyutilib/excel/tests/test_data.py:83: Cannot import xlrd
SKIPPED [1] pyutilib/excel/tests/test_data.py:88: Cannot import xlrd
SKIPPED [1] pyutilib/excel/tests/test_data.py:95: Cannot import xlrd
SKIPPED [1] pyutilib/excel/tests/test_data.py:106: Cannot import xlrd
SKIPPED [1] pyutilib/excel/tests/test_data.py:123: Cannot import xlrd
SKIPPED [1] pyutilib/excel/tests/test_data.py:136: Cannot import xlrd
SKIPPED [1] pyutilib/subprocess/tests/test_subprocess.py:65: The 'memmon' executable is not available.
SKIPPED [1] pyutilib/workflow/tests/test_core.py:227: There is a slight (space) formatting differences in different Python version... Skipping test.
SKIPPED [1] pyutilib/workflow/tests/test_core.py:351: This test is not portable to different Python version
XFAIL pyutilib/th/tests/test_misc.py::Tester::test2
reason:
XFAIL pyutilib/th/tests/test_misc.py::Tester::test4
reason:
XFAIL pyutilib/th/tests/test_misc.py::Tester::test5
reason:
XFAIL pyutilib/th/tests/test_misc.py::Tester::test6
reason:
XFAIL pyutilib/th/tests/test_misc.py::Tester::test7
reason:
XFAIL pyutilib/th/tests/test_misc.py::Tester::test8
reason:
XFAIL pyutilib/th/tests/test_misc.py::Tester::test8gz
reason:
XFAIL pyutilib/th/tests/test_misc.py::TesterL::test2
reason:
XFAIL pyutilib/th/tests/test_misc.py::TesterL::test4
reason:
XFAIL pyutilib/th/tests/test_misc.py::TesterL::test5
reason:
XFAIL pyutilib/th/tests/test_misc.py::TesterL::test6
reason:
XFAIL pyutilib/th/tests/test_misc.py::TesterL::test7
reason:
XFAIL pyutilib/th/tests/test_misc.py::TesterL::test8
reason:
XFAIL pyutilib/th/tests/test_misc.py::TesterL::test8gz
reason:
XFAIL pyutilib/workflow/tests/test_task.py::TestData::test_err1
reason:
XFAIL pyutilib/workflow/tests/test_task.py::TestData::test_err2
reason:
XFAIL pyutilib/workflow/tests/test_task.py::TestData::test_err3
reason:
XFAIL pyutilib/workflow/tests/test_task.py::TestAPI::test10
reason:
XFAIL pyutilib/workflow/tests/test_task.py::TestAPI::test_err1
reason:
XFAIL pyutilib/workflow/tests/test_task.py::TestAPI::test_err10
reason:
XFAIL pyutilib/workflow/tests/test_task.py::TestAPI::test_err10a
reason:
XFAIL pyutilib/workflow/tests/test_task.py::TestAPI::test_err10b
reason:
XFAIL pyutilib/workflow/tests/test_task.py::TestAPI::test_err11
reason:
XFAIL pyutilib/workflow/tests/test_task.py::TestAPI::test_err12
reason:
XFAIL pyutilib/workflow/tests/test_task.py::TestAPI::test_err13
reason:
XFAIL pyutilib/workflow/tests/test_task.py::TestAPI::test_err2
reason:
XFAIL pyutilib/workflow/tests/test_task.py::TestAPI::test_err3
reason:
XFAIL pyutilib/workflow/tests/test_task.py::TestAPI::test_err4
reason:
XFAIL pyutilib/workflow/tests/test_task.py::TestAPI::test_err5
reason:
XFAIL pyutilib/workflow/tests/test_task.py::TestAPI::test_err6
reason:
XFAIL pyutilib/workflow/tests/test_task.py::TestAPI::test_err7A
reason:
XFAIL pyutilib/workflow/tests/test_task.py::TestAPI::test_err7B
reason:
XFAIL pyutilib/workflow/tests/test_task.py::TestAPI::test_err7C
reason:
XFAIL pyutilib/workflow/tests/test_task.py::TestAPI::test_err7a
reason:
XFAIL pyutilib/workflow/tests/test_task.py::TestAPI::test_err7b
reason:
XFAIL pyutilib/workflow/tests/test_task.py::TestAPI::test_err7c
reason:
XFAIL pyutilib/workflow/tests/test_task.py::TestAPI::test_err8a
reason:
XFAIL pyutilib/workflow/tests/test_task.py::TestAPI::test_err8b
reason:
XFAIL pyutilib/workflow/tests/test_task.py::TestAPI::test_err8c
reason:
XFAIL pyutilib/workflow/tests/test_task.py::TestAPI::test_err9
reason:
================================================= 515 passed, 42 skipped, 5 deselected, 40 xfailed, 142 warnings in 30.97s =================================================
pytest-xprocess reminder::Be sure to terminate the started process by running 'pytest --xkill' if you have not explicitly done so in your fixture with 'xprocess.getinfo(<process_name>).terminate()'.
+ PYTHONPATH=/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/build/lib
+ nosetests pyutilib
E......................................................................E.....................SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS.............................................................................................................................................................................................................................................................................................................S......../usr/lib64/python3.8/unittest/case.py:608: RuntimeWarning: TestResult has no addExpectedFailure method, reporting as passes
warnings.warn("TestResult has no addExpectedFailure method, reporting as passes",
.......................................S....Susage: nosetests [-h] {workflow.selection} ...
nosetests: error: argument subparser_name: invalid choice: 'foo' (choose from 'workflow.selection')
................................................................................
======================================================================
ERROR: Failure: AttributeError (module 'pyutilib' has no attribute 'th')
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/nose/failure.py", line 39, in runTest
raise self.exc_val.with_traceback(self.tb)
File "/usr/lib/python3.8/site-packages/nose/loader.py", line 416, in loadTestsFromName
module = self.importer.importFromPath(
File "/usr/lib/python3.8/site-packages/nose/importer.py", line 47, in importFromPath
return self.importFromDir(dir_path, fqname)
File "/usr/lib/python3.8/site-packages/nose/importer.py", line 94, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "/usr/lib64/python3.8/imp.py", line 234, in load_module
return load_source(name, filename, file)
File "/usr/lib64/python3.8/imp.py", line 171, in load_source
module = _load(spec)
File "<frozen importlib._bootstrap>", line 702, in _load
File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 843, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/autotest/tests/test_driver.py", line 42, in <module>
class TestYaml(pyutilib.th.TestCase):
AttributeError: module 'pyutilib' has no attribute 'th'
-------------------- >> begin captured logging << --------------------
pyutilib.component.core.pca: DEBUG: Creating PluginEnvironment 'pca'
pyutilib.component.core.pca: DEBUG: Pushing environment 'pca' on the PluginGlobals stack
pyutilib.component.core.pca: DEBUG: Pushing environment 'pca' on the PluginGlobals stack
pyutilib.component.core.pca: DEBUG: Popping environment 'pca' from the PluginGlobals stack
pyutilib.component.core.pca: DEBUG: Pushing environment 'pca' on the PluginGlobals stack
--------------------- >> end captured logging << ---------------------
======================================================================
ERROR: Failure: AttributeError (module 'pyutilib' has no attribute 'th')
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/nose/failure.py", line 39, in runTest
raise self.exc_val.with_traceback(self.tb)
File "/usr/lib/python3.8/site-packages/nose/loader.py", line 416, in loadTestsFromName
module = self.importer.importFromPath(
File "/usr/lib/python3.8/site-packages/nose/importer.py", line 47, in importFromPath
return self.importFromDir(dir_path, fqname)
File "/usr/lib/python3.8/site-packages/nose/importer.py", line 94, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "/usr/lib64/python3.8/imp.py", line 234, in load_module
return load_source(name, filename, file)
File "/usr/lib64/python3.8/imp.py", line 171, in load_source
module = _load(spec)
File "<frozen importlib._bootstrap>", line 702, in _load
File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 843, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/component/loader/tests/test_egg.py", line 26, in <module>
class Test(pyutilib.th.TestCase):
AttributeError: module 'pyutilib' has no attribute 'th'
----------------------------------------------------------------------
Ran 567 tests in 15.330s
FAILED (SKIP=42, errors=2) |
After deselecting failing units and those which are using + PYTHONPATH=/home/tkloczko/rpmbuild/BUILDROOT/python-pyutilib-6.0.0-3.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-pyutilib-6.0.0-3.fc35.x86_64/usr/lib/python3.8/site-packages
+ /usr/bin/pytest -ra -p no:randomly --import-mode=importlib --deselect pyutilib/autotest/tests/test_driver.py::TestJson::test5 --deselect pyutilib/autotest/tests/test_driver.py::TestJson::test6 --deselect pyutilib/autotest/tests/test_driver.py::TestYaml::test5 --deselect pyutilib/autotest/tests/test_driver.py::TestYaml::test6 --deselect pyutilib/component/config/tests/test_config.py::Test::test_load5 --deselect pyutilib/component/config/tests/test_config.py::Test::test_save1 --deselect pyutilib/component/core/tests/test_core.py::TestManager::test_factory --deselect pyutilib/component/core/tests/test_core.py::TestMisc::test_pprint --deselect pyutilib/dev/tests/test_runtests.py::Test_Runtests::test_all --deselect pyutilib/dev/tests/test_runtests.py::Test_Runtests::test_custom --deselect pyutilib/dev/tests/test_runtests.py::Test_Runtests::test_expensive --deselect pyutilib/dev/tests/test_runtests.py::Test_Runtests::test_expensive_AND_smoke --deselect pyutilib/dev/tests/test_runtests.py::Test_Runtests::test_expensive_OR_smoke --deselect pyutilib/dev/tests/test_runtests.py::Test_Runtests::test_fragile --deselect pyutilib/dev/tests/test_runtests.py::Test_Runtests::test_fragile_AND_smoke --deselect pyutilib/dev/tests/test_runtests.py::Test_Runtests::test_fragile_OR_smoke --deselect pyutilib/dev/tests/test_runtests.py::Test_Runtests::test_noCategory --deselect pyutilib/dev/tests/test_runtests.py::Test_Runtests::test_NOT_expensive --deselect pyutilib/dev/tests/test_runtests.py::Test_Runtests::test_smoke --deselect pyutilib/misc/tests/test_import.py::TestImportFile::test_import_file_context1 --deselect pyutilib/subprocess/tests/test_subprocess.py::Test::test_valgrind --deselect pyutilib/workflow/tests/test_doc.py::Test::test_example7 --deselect pyutilib/workflow/tests/test_doc.py::Test::test_example7a --deselect pyutilib/workflow/tests/test_task.py::TestAPI::test9
=========================================================================== test session starts ============================================================================
platform linux -- Python 3.8.12, pytest-6.2.5, py-1.11.0, pluggy-1.0.0
rootdir: /home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0
plugins: easy-server-0.8.0, yagot-0.5.0, requests-mock-1.9.3
collected 601 items / 24 deselected / 577 selected
doc/workflow/examples/test_example.py ...................... [ 3%]
pyutilib/autotest/tests/test_driver.py ........ [ 5%]
pyutilib/component/app/tests/test_simple.py ..... [ 6%]
pyutilib/component/config/tests/test_config.py ......... [ 7%]
pyutilib/component/config/tests/test_options.py .............. [ 10%]
pyutilib/component/config/tests/test_tempdir.py ..................... [ 13%]
pyutilib/component/core/tests/test_core.py ................. [ 16%]
pyutilib/component/loader/tests/test_egg.py F. [ 16%]
pyutilib/component/loader/tests/test_load.py ...... [ 18%]
pyutilib/component/loader/tests/test_load2.py .... [ 18%]
pyutilib/excel/tests/test_data.py sssssssssssssssssssssssssssssssssssssss [ 25%]
pyutilib/math/tests/test_math.py ....... [ 26%]
pyutilib/math/tests/test_numtypes.py .. [ 27%]
pyutilib/misc/tests/test_archivereader.py ............................................... [ 35%]
pyutilib/misc/tests/test_config.py .................................................................................. [ 49%]
pyutilib/misc/tests/test_cross.py ... [ 49%]
pyutilib/misc/tests/test_factory.py ...... [ 50%]
pyutilib/misc/tests/test_hierarchical_timer.py . [ 51%]
pyutilib/misc/tests/test_import.py ............................. [ 56%]
pyutilib/misc/tests/test_io.py .......... [ 57%]
pyutilib/misc/tests/test_json.py ................ [ 60%]
pyutilib/misc/tests/test_log_config.py ...... [ 61%]
pyutilib/misc/tests/test_method.py .. [ 62%]
pyutilib/misc/tests/test_misc.py .............................. [ 67%]
pyutilib/misc/tests/test_singleton.py .. [ 67%]
pyutilib/misc/tests/test_smap.py ...... [ 68%]
pyutilib/misc/tests/test_visitor.py ........ [ 70%]
pyutilib/misc/tests/test_xml.py ................ [ 72%]
pyutilib/misc/tests/test_yaml.py .......................... [ 77%]
pyutilib/subprocess/tests/test_subprocess.py .s...... [ 78%]
pyutilib/th/tests/test_misc.py .x..xxxxxx.x..xxxxxx [ 82%]
pyutilib/th/tests/test_pyunit.py ................ [ 84%]
pyutilib/workflow/tests/test_core.py ....s....s............. [ 88%]
pyutilib/workflow/tests/test_doc.py .................... [ 92%]
pyutilib/workflow/tests/test_task.py ..xxx.x...............xxxxxxxxxxxxxxxxxxxxxx [100%]
================================================================================= FAILURES =================================================================================
______________________________________________________________________________ Test.test_egg1 ______________________________________________________________________________
self = <test_egg.Test testMethod=test_egg1>, testfile = '/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/component/loader/tests/egg1.out'
baseline = '/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/component/loader/tests/egg1.jsn', delete = True, tolerance = 0.0, exact = False
def assertMatchesJsonBaseline(self,
testfile,
baseline,
delete=True,
tolerance=0.0,
exact=False):
try:
import pyutilib.misc
> pyutilib.misc.compare_json_files(
baseline, testfile, tolerance=tolerance, exact=exact)
../../BUILDROOT/python-pyutilib-6.0.0-3.fc35.x86_64/usr/lib/python3.8/site-packages/pyutilib/th/pyunit.py:342:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
baseline_fname = '/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/component/loader/tests/egg1.jsn'
output_fname = '/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/component/loader/tests/egg1.out', tolerance = 0.0, baseline_begin = '', baseline_end = ''
output_begin = '', output_end = None, exact = False
def compare_json_files(baseline_fname,
output_fname,
tolerance=0.0,
baseline_begin='',
baseline_end='',
output_begin='',
output_end=None,
exact=True):
> return compare_files(
baseline_fname,
output_fname,
tolerance=tolerance,
baseline_begin=baseline_begin,
baseline_end=baseline_end,
output_begin=output_begin,
output_end=output_end,
exact=exact,
using_yaml=False)
../../BUILDROOT/python-pyutilib-6.0.0-3.fc35.x86_64/usr/lib/python3.8/site-packages/pyutilib/misc/pyyaml_util.py:357:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
baseline_fname = '/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/component/loader/tests/egg1.jsn'
output_fname = '/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/component/loader/tests/egg1.out', tolerance = 0.0, baseline_begin = '', baseline_end = ''
output_begin = '', output_end = None, exact = False, using_yaml = False
def compare_files(baseline_fname,
output_fname,
tolerance=0.0,
baseline_begin='',
baseline_end='',
output_begin='',
output_end=None,
exact=True,
using_yaml=True):
INPUT = open_possibly_compressed_file(baseline_fname)
baseline = extract_subtext(
INPUT, begin_str=baseline_begin, end_str=baseline_end)
INPUT.close()
INPUT = open_possibly_compressed_file(output_fname)
output = extract_subtext(INPUT, begin_str=output_begin, end_str=output_end)
INPUT.close()
> compare_strings(
baseline,
output,
tolerance=tolerance,
exact=exact,
using_yaml=using_yaml)
../../BUILDROOT/python-pyutilib-6.0.0-3.fc35.x86_64/usr/lib/python3.8/site-packages/pyutilib/misc/pyyaml_util.py:341:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
baseline = '{\n "Environment Stack": {\n "1": "pca",\n "2": "testing"\n },\n "Interfaces Declared": {\n ...,\n "pyutilib.component.loader.plugin_importLoader": {\n "ImportLoader": null\n }\n }\n}\n'
output = '/usr/lib/python3.8/site-packages/pkg_resources/__init__.py:116: PkgResourcesDeprecationWarning: 1.16.0-unknown is an ...,\n "pyutilib.component.loader.plugin_importLoader": {\n "ImportLoader": null\n }\n }\n}\n'
tolerance = 0.0, exact = False, using_yaml = False
def compare_strings(baseline,
output,
tolerance=0.0,
exact=True,
using_yaml=True):
if using_yaml:
try:
baseline_repn = load_yaml(baseline)
output_repn = load_yaml(output)
except ImportError:
raise IOError(
"Cannot compare YAML strings because YAML is not available")
else:
try:
baseline_repn = load_json(baseline)
except ImportError:
raise IOError(
"Cannot compare JSON strings because JSON is not available")
except Exception:
print("Problem parsing JSON baseline")
print(baseline)
raise
try:
> output_repn = load_json(output)
../../BUILDROOT/python-pyutilib-6.0.0-3.fc35.x86_64/usr/lib/python3.8/site-packages/pyutilib/misc/pyyaml_util.py:312:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
str = '/usr/lib/python3.8/site-packages/pkg_resources/__init__.py:116: PkgResourcesDeprecationWarning: 1.16.0-unknown is an ...,\n "pyutilib.component.loader.plugin_importLoader": {\n "ImportLoader": null\n }\n }\n}\n'
def load_json(str):
import json
def _to_list(data):
ans = []
if sys.version_info < (3, 0):
for val in data:
val_type = type(val)
if val_type is unicode:
val = val.encode('utf-8')
elif val_type is dict:
val = _to_dict(val)
elif val_type is list:
val = _to_list(val)
ans.append(val)
else:
for val in data:
val_type = type(val)
if val_type is bytes:
val = val.encode('utf-8')
elif val_type is dict:
val = _to_dict(val)
elif val_type is list:
val = _to_list(val)
ans.append(val)
return ans
def _to_dict(data):
ans = {}
if sys.version_info < (3, 0):
for key, val in data.iteritems():
if type(key) is unicode:
key = key.encode('utf-8')
val_type = type(val)
if val_type is unicode:
val = val.encode('utf-8')
elif val_type is dict:
val = _to_dict(val)
elif val_type is list:
val = _to_list(val)
ans[key] = val
else:
for key, val in data.items():
if type(key) is bytes:
key = key.encode('utf-8')
val_type = type(val)
if val_type is bytes:
val = val.encode('utf-8')
elif val_type is dict:
val = _to_dict(val)
elif val_type is list:
val = _to_list(val)
ans[key] = val
return ans
# Use specialized decoders because JSON returns UNICODE strings,
# regardless of what string was originally encoded. We convert
# all unicode back to plain str.
> return json.loads(str, object_hook=_to_dict)
../../BUILDROOT/python-pyutilib-6.0.0-3.fc35.x86_64/usr/lib/python3.8/site-packages/pyutilib/misc/pyyaml_util.py:210:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
s = '/usr/lib/python3.8/site-packages/pkg_resources/__init__.py:116: PkgResourcesDeprecationWarning: 1.16.0-unknown is an ...,\n "pyutilib.component.loader.plugin_importLoader": {\n "ImportLoader": null\n }\n }\n}\n'
cls = <class 'json.decoder.JSONDecoder'>, object_hook = <function load_json.<locals>._to_dict at 0x7f05bf21f9d0>, parse_float = None, parse_int = None
parse_constant = None, object_pairs_hook = None, kw = {'object_hook': <function load_json.<locals>._to_dict at 0x7f05bf21f9d0>}
def loads(s, *, cls=None, object_hook=None, parse_float=None,
parse_int=None, parse_constant=None, object_pairs_hook=None, **kw):
"""Deserialize ``s`` (a ``str``, ``bytes`` or ``bytearray`` instance
containing a JSON document) to a Python object.
``object_hook`` is an optional function that will be called with the
result of any object literal decode (a ``dict``). The return value of
``object_hook`` will be used instead of the ``dict``. This feature
can be used to implement custom decoders (e.g. JSON-RPC class hinting).
``object_pairs_hook`` is an optional function that will be called with the
result of any object literal decoded with an ordered list of pairs. The
return value of ``object_pairs_hook`` will be used instead of the ``dict``.
This feature can be used to implement custom decoders. If ``object_hook``
is also defined, the ``object_pairs_hook`` takes priority.
``parse_float``, if specified, will be called with the string
of every JSON float to be decoded. By default this is equivalent to
float(num_str). This can be used to use another datatype or parser
for JSON floats (e.g. decimal.Decimal).
``parse_int``, if specified, will be called with the string
of every JSON int to be decoded. By default this is equivalent to
int(num_str). This can be used to use another datatype or parser
for JSON integers (e.g. float).
``parse_constant``, if specified, will be called with one of the
following strings: -Infinity, Infinity, NaN.
This can be used to raise an exception if invalid JSON numbers
are encountered.
To use a custom ``JSONDecoder`` subclass, specify it with the ``cls``
kwarg; otherwise ``JSONDecoder`` is used.
The ``encoding`` argument is ignored and deprecated since Python 3.1.
"""
if isinstance(s, str):
if s.startswith('\ufeff'):
raise JSONDecodeError("Unexpected UTF-8 BOM (decode using utf-8-sig)",
s, 0)
else:
if not isinstance(s, (bytes, bytearray)):
raise TypeError(f'the JSON object must be str, bytes or bytearray, '
f'not {s.__class__.__name__}')
s = s.decode(detect_encoding(s), 'surrogatepass')
if "encoding" in kw:
import warnings
warnings.warn(
"'encoding' is ignored and deprecated. It will be removed in Python 3.9",
DeprecationWarning,
stacklevel=2
)
del kw['encoding']
if (cls is None and object_hook is None and
parse_int is None and parse_float is None and
parse_constant is None and object_pairs_hook is None and not kw):
return _default_decoder.decode(s)
if cls is None:
cls = JSONDecoder
if object_hook is not None:
kw['object_hook'] = object_hook
if object_pairs_hook is not None:
kw['object_pairs_hook'] = object_pairs_hook
if parse_float is not None:
kw['parse_float'] = parse_float
if parse_int is not None:
kw['parse_int'] = parse_int
if parse_constant is not None:
kw['parse_constant'] = parse_constant
> return cls(**kw).decode(s)
/usr/lib64/python3.8/json/__init__.py:370:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <json.decoder.JSONDecoder object at 0x7f05bf21bf70>
s = '/usr/lib/python3.8/site-packages/pkg_resources/__init__.py:116: PkgResourcesDeprecationWarning: 1.16.0-unknown is an ...,\n "pyutilib.component.loader.plugin_importLoader": {\n "ImportLoader": null\n }\n }\n}\n'
_w = <built-in method match of re.Pattern object at 0x7f05c1233570>
def decode(self, s, _w=WHITESPACE.match):
"""Return the Python representation of ``s`` (a ``str`` instance
containing a JSON document).
"""
> obj, end = self.raw_decode(s, idx=_w(s, 0).end())
/usr/lib64/python3.8/json/decoder.py:337:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <json.decoder.JSONDecoder object at 0x7f05bf21bf70>
s = '/usr/lib/python3.8/site-packages/pkg_resources/__init__.py:116: PkgResourcesDeprecationWarning: 1.16.0-unknown is an ...,\n "pyutilib.component.loader.plugin_importLoader": {\n "ImportLoader": null\n }\n }\n}\n'
idx = 0
def raw_decode(self, s, idx=0):
"""Decode a JSON document from ``s`` (a ``str`` beginning with
a JSON document) and return a 2-tuple of the Python
representation and the index in ``s`` where the document ended.
This can be used to decode a JSON document from a string that may
have extraneous data at the end.
"""
try:
obj, end = self.scan_once(s, idx)
except StopIteration as err:
> raise JSONDecodeError("Expecting value", s, err.value) from None
E json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
/usr/lib64/python3.8/json/decoder.py:355: JSONDecodeError
During handling of the above exception, another exception occurred:
self = <test_egg.Test testMethod=test_egg1>
def test_egg1(self):
#
# Load an egg for the 'project1' project.
# Eggs are loaded in the 'eggs1' directory, but only the Project1 stuff is actually imported.
#
pyutilib.subprocess.run(
[sys.executable, currdir + os.sep + "egg1.py", currdir, "json"])
> self.assertMatchesJsonBaseline(currdir + "egg1.out",
currdir + "egg1.jsn")
pyutilib/component/loader/tests/test_egg.py:35:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../BUILDROOT/python-pyutilib-6.0.0-3.fc35.x86_64/usr/lib/python3.8/site-packages/pyutilib/th/pyunit.py:348: in assertMatchesJsonBaseline
self.fail("JSON testfile does not match the baseline:\n testfile="
E AssertionError: JSON testfile does not match the baseline:
E testfile=/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/component/loader/tests/egg1.out
E baseline=/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/component/loader/tests/egg1.jsn
E Expecting value: line 1 column 1 (char 0)
--------------------------------------------------------------------------- Captured stdout call ---------------------------------------------------------------------------
Problem parsing JSON output
/usr/lib/python3.8/site-packages/pkg_resources/__init__.py:116: PkgResourcesDeprecationWarning: 1.16.0-unknown is an invalid version and will not be supported in a future release
warnings.warn(
{
"Environment Stack": {
"1": "pca",
"2": "testing"
},
"Interfaces Declared": {
"IConfiguration": null,
"IEnvironmentConfig": null,
"IExternalExecutable": null,
"IFileOption": null,
"IIgnorePluginWhenLoading": null,
"IOption": null,
"IOptionDataProvider": null,
"IPackage1Util": null,
"IPluginLoadPath": null,
"IPluginLoader": null,
"ITempfileManager": null,
"IUpdatedOptionsAction": null
},
"Interfaces Declared by Environment": {
"pca": {
"IConfiguration": null,
"IEnvironmentConfig": null,
"IExternalExecutable": null,
"IFileOption": null,
"IIgnorePluginWhenLoading": null,
"IOption": null,
"IOptionDataProvider": null,
"IPluginLoadPath": null,
"IPluginLoader": null,
"ITempfileManager": null,
"IUpdatedOptionsAction": null
},
"testing": {
"IPackage1Util": null
}
},
"Plugins by Environment": {
"pca": {
"<BoolOption [Services] 'Configuration_ConfigParser'>": {
"disabled": "False",
"id": "7",
"name": "Configuration_ConfigParser",
"service": "True",
"singleton": "False"
},
"<BoolOption [Services] 'ImportLoader'>": {
"disabled": "False",
"id": "9",
"name": "ImportLoader",
"service": "True",
"singleton": "False"
},
"<BoolOption [Services] 'TempfileManager'>": {
"disabled": "False",
"id": "3",
"name": "TempfileManager",
"service": "True",
"singleton": "False"
},
"<Option [globals] 'tempdir'>": {
"disabled": "False",
"id": "5",
"name": "tempdir",
"service": "True",
"singleton": "False"
},
"<Plugin Configuration_ConfigParser>": {
"disabled": "False",
"id": "-6",
"name": "Configuration_ConfigParser",
"service": "True",
"singleton": "True"
},
"<Plugin IgnorePluginPlugins>": {
"disabled": "False",
"id": "-1",
"name": "IgnorePluginPlugins",
"service": "True",
"singleton": "True"
},
"<Plugin ImportLoader>": {
"disabled": "False",
"id": "-8",
"name": "ImportLoader",
"service": "True",
"singleton": "True"
},
"<Plugin OptionData 'Plugin.4'>": {
"disabled": "False",
"id": "4",
"name": "Plugin.4",
"service": "True",
"singleton": "False"
},
"<Plugin TempfileManagerPlugin 'TempfileManager'>": {
"disabled": "False",
"id": "-2",
"name": "TempfileManager",
"service": "True",
"singleton": "True"
}
},
"testing": {
"<BoolOption [Services] 'EggLoader.project1'>": {
"disabled": "False",
"id": "11",
"name": "EggLoader.project1",
"service": "True",
"singleton": "False"
},
"<Plugin EggLoader 'EggLoader.project1'>": {
"disabled": "False",
"id": "10",
"name": "EggLoader.project1",
"service": "True",
"singleton": "False"
},
"<Plugin Package1Util>": {
"disabled": "False",
"id": "-12",
"name": "Package1Util",
"service": "True",
"singleton": "True"
}
}
},
"Plugins by Interface": {
"IConfiguration": {
"Configuration_ConfigParser": null
},
"IEnvironmentConfig": {
"EnvironmentConfig": null
},
"IExternalExecutable": {
"ExternalExecutable": null
},
"IFileOption": {
"ExecutableOption": null,
"FileOption": null
},
"IIgnorePluginWhenLoading": {
"IgnorePluginPlugins": null
},
"IOption": {
"BoolOption": null,
"DictOption": null,
"ExecutableOption": null,
"FileOption": null,
"FloatOption": null,
"IntOption": null,
"Option": null,
"OptionPlugin": null
},
"IOptionDataProvider": {
"OptionData": null
},
"IPackage1Util": {
"Package1Util": null
},
"IPluginLoadPath": {
"EnvironmentConfig": null
},
"IPluginLoader": {
"EggLoader": null,
"ImportLoader": null
},
"ITempfileManager": {
"TempfileManagerPlugin": null
},
"IUpdatedOptionsAction": {
"ExecutableOption": null,
"FileOption": null,
"LoggingConfig": null
}
},
"Plugins by Python Module": {
"package1.main": {
"Package1Util": null
},
"pyutilib.component.config.configuration": {
"Configuration": null
},
"pyutilib.component.config.env_config": {
"EnvironmentConfig": null
},
"pyutilib.component.config.logging_config": {
"LoggingConfig": null
},
"pyutilib.component.config.managed_plugin": {
"ManagedPlugin": null
},
"pyutilib.component.config.options": {
"BoolOption": null,
"DictOption": null,
"ExecutableOption": null,
"FileOption": null,
"FloatOption": null,
"IntOption": null,
"Option": null,
"OptionData": null,
"OptionPlugin": null
},
"pyutilib.component.config.plugin_ConfigParser": {
"Configuration_ConfigParser": null
},
"pyutilib.component.config.tempfiles": {
"TempfileManagerPlugin": null
},
"pyutilib.component.core": {
"IgnorePluginPlugins": null
},
"pyutilib.component.executables.executable": {
"ExternalExecutable": null
},
"pyutilib.component.loader.plugin_eggLoader": {
"EggLoader": null
},
"pyutilib.component.loader.plugin_importLoader": {
"ImportLoader": null
}
}
}
============================================================================= warnings summary =============================================================================
../../BUILDROOT/python-pyutilib-6.0.0-3.fc35.x86_64/usr/lib/python3.8/site-packages/pyutilib/misc/import_file.py:11
/home/tkloczko/rpmbuild/BUILDROOT/python-pyutilib-6.0.0-3.fc35.x86_64/usr/lib/python3.8/site-packages/pyutilib/misc/import_file.py:11: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
import imp
pyutilib/component/config/tests/test_options.py:155
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/component/config/tests/test_options.py:155: DeprecationWarning: invalid escape sequence \<
if re.match("\<Option \[globals\] 'o1'\>",
pyutilib/component/config/tests/test_options.py:160
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/component/config/tests/test_options.py:160: DeprecationWarning: invalid escape sequence \<
re.match("\<Option \[globals\] 'o1'\>", str(ep.service("o1"))) is
pyutilib/component/config/tests/test_options.py:163
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/component/config/tests/test_options.py:163: DeprecationWarning: invalid escape sequence \<
re.match("\<Option \[foo\] 'o2'\>", str(ep.service("o2"))) is None)
pyutilib/dev/tests/test_runtests.py:30
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/dev/tests/test_runtests.py:30: DeprecationWarning: invalid escape sequence \S
g = re.match('(\S+) \(([^\)]+)\)', line)
pyutilib/misc/tests/test_config.py:1076
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/misc/tests/test_config.py:1076: DeprecationWarning: invalid escape sequence \{
stripped_reference = re.sub('\{[^\}]*\}','',reference,flags=re.M)
pyutilib/misc/tests/test_misc.py:208
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/misc/tests/test_misc.py:208: DeprecationWarning: invalid escape sequence \
ans = pyutilib.misc.quote_split(' ', "a b\ c")
pyutilib/misc/tests/test_misc.py:209
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/misc/tests/test_misc.py:209: DeprecationWarning: invalid escape sequence \
self.assertEqual(ans, ["a", 'b\ c'])
pyutilib/misc/tests/test_config.py::Test::test_block_get
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/misc/tests/test_config.py:1082: DeprecationWarning: Please use assertNotEqual instead.
self.assertNotEquals(
pyutilib/misc/tests/test_config.py::Test::test_block_get
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/misc/tests/test_config.py:1085: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(
pyutilib/misc/tests/test_config.py::Test::test_list_get
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/misc/tests/test_config.py:1262: DeprecationWarning: Please use assertRaisesRegex instead.
self.assertRaisesRegexp(
pyutilib/misc/tests/test_config.py::Test::test_list_get
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/misc/tests/test_config.py:1282: DeprecationWarning: Please use assertRaisesRegex instead.
self.assertRaisesRegexp(
pyutilib/misc/tests/test_config.py::Test::test_setdefault
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/misc/tests/test_config.py:1122: DeprecationWarning: Please use assertRaisesRegex instead.
self.assertRaisesRegexp(ValueError, '.*disallows implicit entries',
pyutilib/misc/tests/test_import.py::TestRunFile::test_run_file_exception
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/misc/tests/test_import.py:59: DeprecationWarning: Please use assertRaisesRegex instead.
with self.assertRaisesRegexp(RuntimeError, "raised from __main__"):
pyutilib/misc/tests/test_import.py::TestImportFile::test_import_exception
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/misc/tests/test_import.py:103: DeprecationWarning: Please use assertRaisesRegex instead.
with self.assertRaisesRegexp(RuntimeError, "raised during import"):
pyutilib/misc/tests/test_log_config.py::TestLogging::test_alternate_base
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/misc/tests/test_log_config.py:61: DeprecationWarning: The 'warn' method is deprecated, use 'warning' instead
logger.warn("(warn)")
pyutilib/misc/tests/test_log_config.py::TestLogging::test_long_messages
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/misc/tests/test_log_config.py:145: DeprecationWarning: The 'warn' method is deprecated, use 'warning' instead
logger.warn(msg)
pyutilib/misc/tests/test_log_config.py::TestLogging::test_long_messages
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/misc/tests/test_log_config.py:165: DeprecationWarning: The 'warn' method is deprecated, use 'warning' instead
logger.warn(msg)
pyutilib/misc/tests/test_log_config.py::TestLogging::test_long_messages
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/misc/tests/test_log_config.py:185: DeprecationWarning: The 'warn' method is deprecated, use 'warning' instead
logger.warn(msg)
pyutilib/misc/tests/test_log_config.py::TestLogging::test_no_base
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/misc/tests/test_log_config.py:75: DeprecationWarning: The 'warn' method is deprecated, use 'warning' instead
logger.warn("(warn)")
pyutilib/misc/tests/test_log_config.py::TestLogging::test_no_message
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/misc/tests/test_log_config.py:92: DeprecationWarning: The 'warn' method is deprecated, use 'warning' instead
logger.warn("")
pyutilib/misc/tests/test_log_config.py::TestLogging::test_no_message
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/misc/tests/test_log_config.py:97: DeprecationWarning: The 'warn' method is deprecated, use 'warning' instead
logger.warn("")
pyutilib/misc/tests/test_log_config.py::TestLogging::test_simple_log
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/misc/tests/test_log_config.py:41: DeprecationWarning: The 'warn' method is deprecated, use 'warning' instead
logger.warn("(warn)")
pyutilib/misc/tests/test_log_config.py::TestLogging::test_simple_log
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/misc/tests/test_log_config.py:46: DeprecationWarning: The 'warn' method is deprecated, use 'warning' instead
logger.warn("(warn)")
pyutilib/workflow/tests/test_task.py::TestData::test1
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:44: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(len(data._dirty_), 0)
pyutilib/workflow/tests/test_task.py::TestData::test2
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:62: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(len(data._dirty_), 0)
pyutilib/workflow/tests/test_task.py: 42 warnings
/home/tkloczko/rpmbuild/BUILDROOT/python-pyutilib-6.0.0-3.fc35.x86_64/usr/lib/python3.8/site-packages/pyutilib/workflow/functor.py:211: DeprecationWarning: inspect.getargspec() is deprecated since Python 3.0, use inspect.signature() or inspect.getfullargspec()
argspec = inspect.getargspec(fn)
pyutilib/workflow/tests/test_task.py::TestAPI::test1
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:117: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.a, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test1
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:118: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.b, [2, 2])
pyutilib/workflow/tests/test_task.py::TestAPI::test1
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:120: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.a, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test1
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:121: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.b, [2, 2])
pyutilib/workflow/tests/test_task.py::TestAPI::test1a
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:143: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.a, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test1a
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:144: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.b, [2, 2])
pyutilib/workflow/tests/test_task.py::TestAPI::test1a
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:146: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.a, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test1a
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:147: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.b, [2, 2])
pyutilib/workflow/tests/test_task.py::TestAPI::test1b
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:161: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.a, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test1b
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:162: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.b, [2, 2])
pyutilib/workflow/tests/test_task.py::TestAPI::test1b
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:164: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.a, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test1b
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:165: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.b, [2, 2])
pyutilib/workflow/tests/test_task.py::TestAPI::test2
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:180: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.a, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test2
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:181: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.b, [2, 2])
pyutilib/workflow/tests/test_task.py::TestAPI::test2
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:183: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.a, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test2
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:184: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.b, [2, 2])
pyutilib/workflow/tests/test_task.py::TestAPI::test2a
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:205: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.a, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test2a
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:206: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.b, [2, 2])
pyutilib/workflow/tests/test_task.py::TestAPI::test2a
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:208: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.a, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test2a
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:209: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.b, [2, 2])
pyutilib/workflow/tests/test_task.py::TestAPI::test3
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:230: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.a, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test3
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:231: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.b, [2, 2])
pyutilib/workflow/tests/test_task.py::TestAPI::test3
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:233: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.a, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test3
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:234: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.b, [2, 2])
pyutilib/workflow/tests/test_task.py::TestAPI::test3a
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:255: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.a, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test3a
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:256: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.b, [2, 2])
pyutilib/workflow/tests/test_task.py::TestAPI::test3a
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:258: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.a, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test3a
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:259: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.b, [2, 2])
pyutilib/workflow/tests/test_task.py::TestAPI::test4
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:283: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.a, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test4
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:284: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.b, [2, 2])
pyutilib/workflow/tests/test_task.py::TestAPI::test4
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:286: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.a, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test4
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:287: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.b, [2, 2])
pyutilib/workflow/tests/test_task.py::TestAPI::test5
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:312: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.a, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test5
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:313: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.b, [2, 2])
pyutilib/workflow/tests/test_task.py::TestAPI::test5
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:315: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.a, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test5
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:316: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.b, [2, 2])
pyutilib/workflow/tests/test_task.py::TestAPI::test5
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:317: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.z, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test5a
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:372: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.a, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test5a
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:373: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.b, [2, 2])
pyutilib/workflow/tests/test_task.py::TestAPI::test5a
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:375: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.a, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test5a
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:376: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.b, [2, 2])
pyutilib/workflow/tests/test_task.py::TestAPI::test5a
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:377: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.z, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test6
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:342: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.a, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test6
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:343: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.b, [2, 2])
pyutilib/workflow/tests/test_task.py::TestAPI::test6
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:345: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.a, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test6
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:346: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.b, [2, 2])
pyutilib/workflow/tests/test_task.py::TestAPI::test6
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:347: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.z, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test6a
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:402: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.a, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test6a
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:403: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.b, [2, 2])
pyutilib/workflow/tests/test_task.py::TestAPI::test6a
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:405: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.a, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test6a
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:406: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.b, [2, 2])
pyutilib/workflow/tests/test_task.py::TestAPI::test6a
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:407: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.z, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test7a
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:428: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.a, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test7a
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:429: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.b, [2, 2])
pyutilib/workflow/tests/test_task.py::TestAPI::test7a
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:431: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.a, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test7a
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:432: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.b, [2, 2])
pyutilib/workflow/tests/test_task.py::TestAPI::test7b
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:454: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.a, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test7b
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:455: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.b, [2, 2])
pyutilib/workflow/tests/test_task.py::TestAPI::test7b
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:457: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.a, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test7b
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:458: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.b, [2, 2])
pyutilib/workflow/tests/test_task.py::TestAPI::test7c
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:482: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.a, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test7c
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:483: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.b, [2, 2])
pyutilib/workflow/tests/test_task.py::TestAPI::test7c
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:485: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.a, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test7c
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:486: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.b, [2, 2])
pyutilib/workflow/tests/test_task.py::TestAPI::test7c
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:487: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.z, 2)
pyutilib/workflow/tests/test_task.py::TestAPI::test8
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:510: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.a, 1)
pyutilib/workflow/tests/test_task.py::TestAPI::test8
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:511: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.b, [1, 2])
pyutilib/workflow/tests/test_task.py::TestAPI::test8
/home/tkloczko/rpmbuild/BUILD/pyutilib-6.0.0/pyutilib/workflow/tests/test_task.py:512: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(retval.data.foo.foo, 3)
-- Docs: https://docs.pytest.org/en/stable/warnings.html
========================================================================= short test summary info ==========================================================================
SKIPPED [1] pyutilib/excel/tests/test_data.py:179: Cannot import win32com
SKIPPED [1] pyutilib/excel/tests/test_data.py:197: Cannot import win32com
SKIPPED [1] pyutilib/excel/tests/test_data.py:50: Cannot import win32com
SKIPPED [1] pyutilib/excel/tests/test_data.py:149: Cannot import win32com
SKIPPED [1] pyutilib/excel/tests/test_data.py:166: Cannot import win32com
SKIPPED [1] pyutilib/excel/tests/test_data.py:59: Cannot import win32com
SKIPPED [1] pyutilib/excel/tests/test_data.py:70: Cannot import win32com
SKIPPED [1] pyutilib/excel/tests/test_data.py:83: Cannot import win32com
SKIPPED [1] pyutilib/excel/tests/test_data.py:88: Cannot import win32com
SKIPPED [1] pyutilib/excel/tests/test_data.py:95: Cannot import win32com
SKIPPED [1] pyutilib/excel/tests/test_data.py:106: Cannot import win32com
SKIPPED [1] pyutilib/excel/tests/test_data.py:123: Cannot import win32com
SKIPPED [1] pyutilib/excel/tests/test_data.py:136: Cannot import win32com
SKIPPED [1] pyutilib/excel/tests/test_data.py:179: Cannot import openpyxl
SKIPPED [1] pyutilib/excel/tests/test_data.py:197: Cannot import openpyxl
SKIPPED [1] pyutilib/excel/tests/test_data.py:50: Cannot import openpyxl
SKIPPED [1] pyutilib/excel/tests/test_data.py:149: Cannot import openpyxl
SKIPPED [1] pyutilib/excel/tests/test_data.py:166: Cannot import openpyxl
SKIPPED [1] pyutilib/excel/tests/test_data.py:59: Cannot import openpyxl
SKIPPED [1] pyutilib/excel/tests/test_data.py:70: Cannot import openpyxl
SKIPPED [1] pyutilib/excel/tests/test_data.py:83: Cannot import openpyxl
SKIPPED [1] pyutilib/excel/tests/test_data.py:88: Cannot import openpyxl
SKIPPED [1] pyutilib/excel/tests/test_data.py:95: Cannot import openpyxl
SKIPPED [1] pyutilib/excel/tests/test_data.py:106: Cannot import openpyxl
SKIPPED [1] pyutilib/excel/tests/test_data.py:123: Cannot import openpyxl
SKIPPED [1] pyutilib/excel/tests/test_data.py:136: Cannot import openpyxl
SKIPPED [1] pyutilib/excel/tests/test_data.py:179: Cannot import xlrd
SKIPPED [1] pyutilib/excel/tests/test_data.py:197: Cannot import xlrd
SKIPPED [1] pyutilib/excel/tests/test_data.py:50: Cannot import xlrd
SKIPPED [1] pyutilib/excel/tests/test_data.py:149: Cannot import xlrd
SKIPPED [1] pyutilib/excel/tests/test_data.py:166: Cannot import xlrd
SKIPPED [1] pyutilib/excel/tests/test_data.py:59: Cannot import xlrd
SKIPPED [1] pyutilib/excel/tests/test_data.py:70: Cannot import xlrd
SKIPPED [1] pyutilib/excel/tests/test_data.py:83: Cannot import xlrd
SKIPPED [1] pyutilib/excel/tests/test_data.py:88: Cannot import xlrd
SKIPPED [1] pyutilib/excel/tests/test_data.py:95: Cannot import xlrd
SKIPPED [1] pyutilib/excel/tests/test_data.py:106: Cannot import xlrd
SKIPPED [1] pyutilib/excel/tests/test_data.py:123: Cannot import xlrd
SKIPPED [1] pyutilib/excel/tests/test_data.py:136: Cannot import xlrd
SKIPPED [1] pyutilib/subprocess/tests/test_subprocess.py:65: The 'memmon' executable is not available.
SKIPPED [1] pyutilib/workflow/tests/test_core.py:227: There is a slight (space) formatting differences in different Python version... Skipping test.
SKIPPED [1] pyutilib/workflow/tests/test_core.py:351: This test is not portable to different Python version
XFAIL pyutilib/th/tests/test_misc.py::Tester::test2
reason:
XFAIL pyutilib/th/tests/test_misc.py::Tester::test4
reason:
XFAIL pyutilib/th/tests/test_misc.py::Tester::test5
reason:
XFAIL pyutilib/th/tests/test_misc.py::Tester::test6
reason:
XFAIL pyutilib/th/tests/test_misc.py::Tester::test7
reason:
XFAIL pyutilib/th/tests/test_misc.py::Tester::test8
reason:
XFAIL pyutilib/th/tests/test_misc.py::Tester::test8gz
reason:
XFAIL pyutilib/th/tests/test_misc.py::TesterL::test2
reason:
XFAIL pyutilib/th/tests/test_misc.py::TesterL::test4
reason:
XFAIL pyutilib/th/tests/test_misc.py::TesterL::test5
reason:
XFAIL pyutilib/th/tests/test_misc.py::TesterL::test6
reason:
XFAIL pyutilib/th/tests/test_misc.py::TesterL::test7
reason:
XFAIL pyutilib/th/tests/test_misc.py::TesterL::test8
reason:
XFAIL pyutilib/th/tests/test_misc.py::TesterL::test8gz
reason:
XFAIL pyutilib/workflow/tests/test_task.py::TestData::test_err1
reason:
XFAIL pyutilib/workflow/tests/test_task.py::TestData::test_err2
reason:
XFAIL pyutilib/workflow/tests/test_task.py::TestData::test_err3
reason:
XFAIL pyutilib/workflow/tests/test_task.py::TestAPI::test10
reason:
XFAIL pyutilib/workflow/tests/test_task.py::TestAPI::test_err1
reason:
XFAIL pyutilib/workflow/tests/test_task.py::TestAPI::test_err10
reason:
XFAIL pyutilib/workflow/tests/test_task.py::TestAPI::test_err10a
reason:
XFAIL pyutilib/workflow/tests/test_task.py::TestAPI::test_err10b
reason:
XFAIL pyutilib/workflow/tests/test_task.py::TestAPI::test_err11
reason:
XFAIL pyutilib/workflow/tests/test_task.py::TestAPI::test_err12
reason:
XFAIL pyutilib/workflow/tests/test_task.py::TestAPI::test_err13
reason:
XFAIL pyutilib/workflow/tests/test_task.py::TestAPI::test_err2
reason:
XFAIL pyutilib/workflow/tests/test_task.py::TestAPI::test_err3
reason:
XFAIL pyutilib/workflow/tests/test_task.py::TestAPI::test_err4
reason:
XFAIL pyutilib/workflow/tests/test_task.py::TestAPI::test_err5
reason:
XFAIL pyutilib/workflow/tests/test_task.py::TestAPI::test_err6
reason:
XFAIL pyutilib/workflow/tests/test_task.py::TestAPI::test_err7A
reason:
XFAIL pyutilib/workflow/tests/test_task.py::TestAPI::test_err7B
reason:
XFAIL pyutilib/workflow/tests/test_task.py::TestAPI::test_err7C
reason:
XFAIL pyutilib/workflow/tests/test_task.py::TestAPI::test_err7a
reason:
XFAIL pyutilib/workflow/tests/test_task.py::TestAPI::test_err7b
reason:
XFAIL pyutilib/workflow/tests/test_task.py::TestAPI::test_err7c
reason:
XFAIL pyutilib/workflow/tests/test_task.py::TestAPI::test_err8a
reason:
XFAIL pyutilib/workflow/tests/test_task.py::TestAPI::test_err8b
reason:
XFAIL pyutilib/workflow/tests/test_task.py::TestAPI::test_err8c
reason:
XFAIL pyutilib/workflow/tests/test_task.py::TestAPI::test_err9
reason:
FAILED pyutilib/component/loader/tests/test_egg.py::Test::test_egg1 - AssertionError: JSON testfile does not match the baseline:
=========================================== 1 failed, 494 passed, 42 skipped, 24 deselected, 40 xfailed, 136 warnings in 10.41s ============================================ |
BTW |
The text was updated successfully, but these errors were encountered: