Powered by X. Your IP: 18.97.9.175 | python-fixtures a000a61c-0694-48ea-9386-27f23d92f954Toc:- error 1
ERROR: fixtures.tests._fixtures.test_monkeypatch.TestMonkeyPatch.test_patch_classmethod_with_boundmethod
- error 2
TypeError: D.bar_two_args() missing 1 required positional argument: 'arg'
- error 3
ERROR: fixtures.tests._fixtures.test_monkeypatch.TestMonkeyPatch.test_patch_classmethod_with_classmethod
- error 4
ValueError: not enough values to unpack (expected 2, got 1)
- error 5
FAIL: fixtures.tests._fixtures.test_mockpatch.TestMockMultiple.test_mock_patch_without_replacement
- error 6
testtools.matchers._impl.MismatchError: '<MagicMock name='bar()' id='4132792592'>' is not an instance of MagicMock
- error 7
FAIL: fixtures.tests._fixtures.test_mockpatch.TestMockPatch.test_mock_patch_without_replacement
- error 8
testtools.matchers._impl.MismatchError: '<MagicMock name='bar()' id='4132327376'>' is not an instance of MagicMock
- error 9
FAIL: fixtures.tests._fixtures.test_mockpatch.TestMockPatchObject.test_mock_patch_object_without_replacement
- error 10
testtools.matchers._impl.MismatchError: '<MagicMock name='bar()' id='4132040440'>' is not an instance of MagicMock
- error 11
error: Bad exit status from /tmp/B.2wgzhqrj/BUILD/tmp/rpm-tmp.IAJaof (%build)
- error 12
RPM build errors:
- error 13
error: No files produced.
Content:
********************************************************************************
Usage of dash-separated 'description-file' will not be supported in future
versions. Please use the underscore name 'description_file' instead.
This deprecation is overdue, please update your project and remove deprecated
calls to avoid build errors in the future.
See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
********************************************************************************
!!
opt = self.warn_dash_deprecation(opt, section)
/usr/share/python3.10/site-packages/setuptools/dist.py:458: SetuptoolsDeprecationWarning: Invalid dash-separated options
!!
********************************************************************************
Usage of dash-separated 'author-email' will not be supported in future
versions. Please use the underscore name 'author_email' instead.
This deprecation is overdue, please update your project and remove deprecated
calls to avoid build errors in the future.
See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
********************************************************************************
!!
opt = self.warn_dash_deprecation(opt, section)
/usr/share/python3.10/site-packages/setuptools/dist.py:458: SetuptoolsDeprecationWarning: Invalid dash-separated options
!!
********************************************************************************
Usage of dash-separated 'home-page' will not be supported in future
versions. Please use the underscore name 'home_page' instead.
This deprecation is overdue, please update your project and remove deprecated
calls to avoid build errors in the future.
See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
********************************************************************************
!!
opt = self.warn_dash_deprecation(opt, section)
running build
running build_py
creating build-3
creating build-3/lib
creating build-3/lib/fixtures
copying fixtures/fixture.py -> build-3/lib/fixtures
copying fixtures/testcase.py -> build-3/lib/fixtures
copying fixtures/__init__.py -> build-3/lib/fixtures
copying fixtures/callmany.py -> build-3/lib/fixtures
creating build-3/lib/fixtures/tests
copying fixtures/tests/helpers.py -> build-3/lib/fixtures/tests
copying fixtures/tests/test_testcase.py -> build-3/lib/fixtures/tests
copying fixtures/tests/test_fixture.py -> build-3/lib/fixtures/tests
copying fixtures/tests/test_callmany.py -> build-3/lib/fixtures/tests
copying fixtures/tests/__init__.py -> build-3/lib/fixtures/tests
creating build-3/lib/fixtures/_fixtures
copying fixtures/_fixtures/environ.py -> build-3/lib/fixtures/_fixtures
copying fixtures/_fixtures/logger.py -> build-3/lib/fixtures/_fixtures
copying fixtures/_fixtures/pythonpath.py -> build-3/lib/fixtures/_fixtures
copying fixtures/_fixtures/packagepath.py -> build-3/lib/fixtures/_fixtures
copying fixtures/_fixtures/timeout.py -> build-3/lib/fixtures/_fixtures
copying fixtures/_fixtures/mockpatch.py -> build-3/lib/fixtures/_fixtures
copying fixtures/_fixtures/temphomedir.py -> build-3/lib/fixtures/_fixtures
copying fixtures/_fixtures/popen.py -> build-3/lib/fixtures/_fixtures
copying fixtures/_fixtures/__init__.py -> build-3/lib/fixtures/_fixtures
copying fixtures/_fixtures/streams.py -> build-3/lib/fixtures/_fixtures
copying fixtures/_fixtures/monkeypatch.py -> build-3/lib/fixtures/_fixtures
copying fixtures/_fixtures/tempdir.py -> build-3/lib/fixtures/_fixtures
copying fixtures/_fixtures/warnings.py -> build-3/lib/fixtures/_fixtures
copying fixtures/_fixtures/pythonpackage.py -> build-3/lib/fixtures/_fixtures
creating build-3/lib/fixtures/tests/_fixtures
copying fixtures/tests/_fixtures/test_mockpatch.py -> build-3/lib/fixtures/tests/_fixtures
copying fixtures/tests/_fixtures/test_temphomedir.py -> build-3/lib/fixtures/tests/_fixtures
copying fixtures/tests/_fixtures/test_warnings.py -> build-3/lib/fixtures/tests/_fixtures
copying fixtures/tests/_fixtures/test_popen.py -> build-3/lib/fixtures/tests/_fixtures
copying fixtures/tests/_fixtures/test_monkeypatch.py -> build-3/lib/fixtures/tests/_fixtures
copying fixtures/tests/_fixtures/test_pythonpackage.py -> build-3/lib/fixtures/tests/_fixtures
copying fixtures/tests/_fixtures/__init__.py -> build-3/lib/fixtures/tests/_fixtures
copying fixtures/tests/_fixtures/test_pythonpath.py -> build-3/lib/fixtures/tests/_fixtures
copying fixtures/tests/_fixtures/test_streams.py -> build-3/lib/fixtures/tests/_fixtures
copying fixtures/tests/_fixtures/test_tempdir.py -> build-3/lib/fixtures/tests/_fixtures
copying fixtures/tests/_fixtures/test_packagepath.py -> build-3/lib/fixtures/tests/_fixtures
copying fixtures/tests/_fixtures/test_environ.py -> build-3/lib/fixtures/tests/_fixtures
copying fixtures/tests/_fixtures/test_logger.py -> build-3/lib/fixtures/tests/_fixtures
copying fixtures/tests/_fixtures/test_timeout.py -> build-3/lib/fixtures/tests/_fixtures
running egg_info
writing fixtures.egg-info/PKG-INFO
writing dependency_links to fixtures.egg-info/dependency_links.txt
writing requirements to fixtures.egg-info/requires.txt
writing top-level names to fixtures.egg-info/top_level.txt
[pbr] Reusing existing SOURCES.txt
+ /usr/bin/python3 -m testtools.run fixtures.test_suite
/usr/libx32/python3.10/runpy.py:126: RuntimeWarning: 'testtools.run' found in sys.modules after import of package 'testtools', but prior to execution of 'testtools.run'; this may result in unpredictable behaviour
warn(RuntimeWarning(msg))
Tests running...
======================================================================
ERROR: fixtures.tests._fixtures.test_monkeypatch.TestMonkeyPatch.test_patch_classmethod_with_boundmethod
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/B.2wgzhqrj/BUILD/fixtures-3.0.0/fixtures/tests/_fixtures/test_monkeypatch.py", line 223, in test_patch_classmethod_with_boundmethod
slf, cls = C.foo_cls()
TypeError: D.bar_two_args() missing 1 required positional argument: 'arg'
======================================================================
ERROR: fixtures.tests._fixtures.test_monkeypatch.TestMonkeyPatch.test_patch_classmethod_with_classmethod
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/B.2wgzhqrj/BUILD/fixtures-3.0.0/fixtures/tests/_fixtures/test_monkeypatch.py", line 191, in test_patch_classmethod_with_classmethod
cls, target_class = C.foo_cls()
ValueError: not enough values to unpack (expected 2, got 1)
======================================================================
FAIL: fixtures.tests._fixtures.test_mockpatch.TestMockMultiple.test_mock_patch_without_replacement
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/B.2wgzhqrj/BUILD/fixtures-3.0.0/fixtures/tests/_fixtures/test_mockpatch.py", line 63, in test_mock_patch_without_replacement
self.assertIsInstance(instance.bar(), mock.MagicMock)
File "/usr/share/python3.10/site-packages/testtools/testcase.py", line 466, in assertIsInstance
self.assertThat(obj, matcher, msg)
File "/usr/share/python3.10/site-packages/testtools/testcase.py", line 502, in assertThat
raise mismatch_error
testtools.matchers._impl.MismatchError: '<MagicMock name='bar()' id='4132792592'>' is not an instance of MagicMock
======================================================================
FAIL: fixtures.tests._fixtures.test_mockpatch.TestMockPatch.test_mock_patch_without_replacement
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/B.2wgzhqrj/BUILD/fixtures-3.0.0/fixtures/tests/_fixtures/test_mockpatch.py", line 48, in test_mock_patch_without_replacement
self.assertIsInstance(instance.bar(), mock.MagicMock)
File "/usr/share/python3.10/site-packages/testtools/testcase.py", line 466, in assertIsInstance
self.assertThat(obj, matcher, msg)
File "/usr/share/python3.10/site-packages/testtools/testcase.py", line 502, in assertThat
raise mismatch_error
testtools.matchers._impl.MismatchError: '<MagicMock name='bar()' id='4132327376'>' is not an instance of MagicMock
======================================================================
FAIL: fixtures.tests._fixtures.test_mockpatch.TestMockPatchObject.test_mock_patch_object_without_replacement
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/B.2wgzhqrj/BUILD/fixtures-3.0.0/fixtures/tests/_fixtures/test_mockpatch.py", line 75, in test_mock_patch_object_without_replacement
self.assertIsInstance(instance.bar(), mock.MagicMock)
File "/usr/share/python3.10/site-packages/testtools/testcase.py", line 466, in assertIsInstance
self.assertThat(obj, matcher, msg)
File "/usr/share/python3.10/site-packages/testtools/testcase.py", line 502, in assertThat
raise mismatch_error
testtools.matchers._impl.MismatchError: '<MagicMock name='bar()' id='4132040440'>' is not an instance of MagicMock
Ran 128 tests in 2.036s
FAILED (failures=5)
error: Bad exit status from /tmp/B.2wgzhqrj/BUILD/tmp/rpm-tmp.IAJaof (%build)
RPM build warnings:
%patchN is deprecated (1 usages found), use %patch N (or %patch -P N)
RPM build errors:
Bad exit status from /tmp/B.2wgzhqrj/BUILD/tmp/rpm-tmp.IAJaof (%build)
ended at: Sat Jan 11 15:41:27 2025, done in 0:00:07.543167
error: No files produced.
+ chmod -R u+rwX /tmp/B.2wgzhqrj/BUILD
+ rm -rf /tmp/B.2wgzhqrj/tmp /tmp/B.2wgzhqrj/BUILD
+ rm -rf /tmp/B.2wgzhqrj
Begin-PLD-Builder-Info
Build-Time: user:4.28s sys:1.97s real:10.40s (faults io:0 non-io:172642)
End-PLD-Builder-Info
|
|