https://sources.debian.org/data/main/d/docopt/0.6.2-3/debian/patches/pytest6 From: Michael R. Crusoe Subject: fix for pytest 6.x comptability Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=979285 --- docopt.orig/conftest.py +++ docopt/conftest.py @@ -11,6 +11,8 @@ def pytest_collect_file(path, parent): if path.ext == ".docopt" and path.basename.startswith("test"): + if hasattr(DocoptTestFile, "from_parent"): + return DocoptTestFile.from_parent(parent, fspath=path) return DocoptTestFile(path, parent) @@ -41,7 +43,10 @@ for name, doc, cases in parse_test(raw): name = self.fspath.purebasename for case in cases: - yield DocoptTestItem("%s(%d)" % (name, index), self, doc, case) + if hasattr(DocoptTestItem, "from_parent"): + yield DocoptTestItem.from_parent(self, name="%s(%d)" % (name, index), doc=doc, case=case) + else: + yield DocoptTestItem("%s(%d)" % (name, index), self, doc, case) index += 1 3ae65b5cf331b2853e2c'>refslogtreecommitdiff
path: root/gnu/services/sysctl.scm
AgeCommit message (Expand)Author
2022-04-29services: Add missing 'description' fields....* gnu/services/databases.scm (postgresql-service-type)[description]: New field. (memcached-service-type)[description]: New field. (mysql-service-type)[description]: New field. (redis-service-type)[description]: New field. * gnu/services/desktop.scm (geoclue-service-type)[description]: New field. (udisks-service-type)[description]: New field. (elogind-service-type)[description]: New field. (account-service-type)[description]: New field. * gnu/services/kerberos.scm (krb5-service-type)[description]: New field. (pam-krb5-service-type)[description]: New field. * gnu/services/lirc.scm (lirc-service-type)[description]: New field. * gnu/services/mail.scm (dovecot-service-type)[description]: New field. (opensmtpd-service-type)[description]: New field. (mail-aliases-service-type)[description]: New field. (exim-service-type)[description]: New field. * gnu/services/monitoring.scm (zabbix-server-service-type)[description]: New field. (zabbix-agent-service-type)[description]: New field. * gnu/services/nfs.scm (rpcbind-service-type)[description]: New field. (pipefs-service-type)[description]: New field. (gss-service-type)[description]: New field. (idmap-service-type)[description]: New field. * gnu/services/spice.scm (spice-vdagent-service-type)[description]: New field. * gnu/services/sysctl.scm (sysctl-service-type)[description]: New field. * gnu/services/virtualization.scm (libvirt-service-type)[description]: New field. (virtlog-service-type)[description]: New field. * gnu/services/vpn.scm (openvpn-server-service-type)[description]: New field. (openvpn-client-service-type)[description]: New field. (wireguard-service-type)[description]: New field. * gnu/services/web.scm (httpd-service-type)[description]: New field. (fcgiwrap-service-type)[description]: New field. (agate-service-type)[description]: New field. [name]: Fix. Ludovic Courtès