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( left'>AgeCommit message (Expand)Author 2024-08-11gnu: Replace (almost) all uses of /run/setuid-programs....…those good for master, anyway. * gnu/packages/admin.scm (ktsuss, opendoas, hosts) [arguments]: Replace /run/setuid-programs with /run/privileged/bin. * gnu/packages/containers.scm (slirp4netns)[arguments]: Likewise. * gnu/packages/debian.scm (pbuilder)[arguments]: Likewise. * gnu/packages/disk.scm (udevil)[arguments]: Likewise. * gnu/packages/enlightenment.scm (efl, enlightenment) [arguments]: Likewise. * gnu/packages/gnome.scm (gdm, gnome-control-center) [arguments]: Likewise. * gnu/packages/linux.scm (singularity)[arguments]: Likewise. * gnu/packages/lxde.scm (spacefm)[arguments]: Likewise. * gnu/packages/monitoring.scm (zabbix-agentd)[arguments]: Likewise. * gnu/packages/virtualization.scm (ganeti)[arguments]: Likewise. * gnu/packages/xdisorg.scm (xsecurelock)[arguments]: Likewise. * gnu/services/dbus.scm (dbus-configuration-directory): Likewise. * gnu/services/ganeti.scm (%default-ganeti-environment-variables): Likewise. * gnu/services/monitoring.scm (zabbix-agent-shepherd-service): Likewise. * gnu/tests/ldap.scm (marionette): Likewise. * gnu/tests/monitoring.scm (os): Likewise. Tobias Geerinckx-Rice 23:28:58 +0200'>2024-04-02maint: Add perl to the manifest....* manifest.scm: Add perl. Change-Id: Ie70cea1eb4d62f2a649292209391a92abdae2288 Janneke Nieuwenhuizen 2024-01-31maint: Add gnupg to the manifest....* manifest.scm: Add gnupg. Change-Id: Id5e90f87e5c3a07aa3e49afa97cc0b6d3ce71b41 Ludovic Courtès 2023-09-18maint: Support `guix shell' in Guix's git archive with manifest.scm....* manifest.scm: New file. * Makefile.am (EXTRA_DIST): Add it. * doc/contributing.texi (Building from Git): Mention using it. Janneke Nieuwenhuizen