https://sources.debian.org/data/main/p/python-fixtures/3.0.0-4/debian/patches/remove-broken-monkey-patch-test.patch The last release was May 2016. This can be removed when the next release happens. Description: Remove broken monkey patch tests Author: Thomas Goirand Bug-Debian: https://bugs.debian.org/973239 Forwarded: no Last-Update: 2020-11-12 --- python-fixtures-3.0.0.orig/fixtures/tests/_fixtures/test_monkeypatch.py +++ python-fixtures-3.0.0/fixtures/tests/_fixtures/test_monkeypatch.py @@ -181,22 +181,6 @@ class TestMonkeyPatch(testtools.TestCase self._check_restored_static_or_class_method(oldmethod, oldmethod_inst, C, 'foo_cls') - def test_patch_classmethod_with_classmethod(self): - oldmethod = C.foo_cls - oldmethod_inst = C().foo_cls - fixture = MonkeyPatch( - 'fixtures.tests._fixtures.test_monkeypatch.C.foo_cls', - D.bar_cls_args) - with fixture: - cls, target_class = C.foo_cls() - self.expectThat(cls, Is(D)) - self.expectThat(target_class, Is(C)) - cls, target_class = C().foo_cls() - self.expectThat(cls, Is(D)) - self.expectThat(target_class, Is(C)) - self._check_restored_static_or_class_method(oldmethod, oldmethod_inst, - C, 'foo_cls') - def test_patch_classmethod_with_function(self): oldmethod = C.foo_cls oldmethod_inst = C().foo_cls @@ -212,23 +196,6 @@ class TestMonkeyPatch(testtools.TestCase self._check_restored_static_or_class_method(oldmethod, oldmethod_inst, C, 'foo_cls') - def test_patch_classmethod_with_boundmethod(self): - oldmethod = C.foo_cls - oldmethod_inst = C().foo_cls - d = D() - fixture = MonkeyPatch( - 'fixtures.tests._fixtures.test_monkeypatch.C.foo_cls', - d.bar_two_args) - with fixture: - slf, cls = C.foo_cls() - self.expectThat(slf, Is(d)) - self.expectThat(cls, Is(C)) - slf, cls = C().foo_cls() - self.expectThat(slf, Is(d)) - self.expectThat(cls, Is(C)) - self._check_restored_static_or_class_method(oldmethod, oldmethod_inst, - C, 'foo_cls') - def test_patch_function_with_staticmethod(self): oldmethod = fake_no_args fixture = MonkeyPatch( .patman?id=f44fa21c3ec1d9bf1b9da009e1c795942bf654eb'>gnu: patman: Apply patch for new Change-Id setting....* gnu/packages/bootloaders.scm (u-boot) [source]: Apply patch. * gnu/packages/patches/u-boot-patman-change-id.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it. * .patman (keep_change_id): Use it. Series-changes: 3 - New commit Change-Id: I33c03013f6a260b5f5d80212b7b6ebe8a3f97efa Maxim Cournoyer 2023-05-01.patman: Remove get_maintainer_script option....This is now handled at the level of git via its new '--header-cmd' option, which produces X-Debbugs-CC headers. * .patman (get_maintainer_script): Delete option. Maxim Cournoyer 2023-02-25.patman: Ignore bad tags....The feature is not used in Guix, and it produces extraneous warnings. * .patman (ignore_bad_tags): Set option to True. Maxim Cournoyer 2022-12-28.patman: New configuration file....* .patman: New file. Series-to: 60218@debbugs.gnu.org Series-cc: rekado@elephly.net, othacehe@gnu.org Series-version: 2 Maxim Cournoyer