From 1bac6355d9c65de847cc445d782c466778b94fbd Mon Sep 17 00:00:00 2001 From: "Robert T. McGibbon" Date: Sun, 9 May 2021 11:18:23 -0400 Subject: [PATCH] Update tests for python3.9 --- src/tests.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/tests.py b/src/tests.py index d918891..4f2c3de 100644 --- a/src/tests.py +++ b/src/tests.py @@ -448,7 +448,8 @@ def test_genrandbits(self): self.assertRaises(TypeError, self.gen.getrandbits) self.assertRaises(TypeError, self.gen.getrandbits, 'a') self.assertRaises(TypeError, self.gen.getrandbits, 1, 2) - self.assertRaises(ValueError, self.gen.getrandbits, 0) + if sys.version_info < (3, 9): + self.assertRaises(ValueError, self.gen.getrandbits, 0) self.assertRaises(ValueError, self.gen.getrandbits, -1) def test_randbelow_logic(self, _log=log, int=int): ss='sub'>Wojtek's customized Guix
aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/security-token.scm
AgeCommit message (Expand)Author
2024-08-31gnu: Use 'gtk-doc/stable' in native-inputs instead of 'gtk-doc'....Commit 9dea1618755891526f708aa335b4136c1302d16e only replaced 'gtk-doc' with 'gtk-doc/stable' in the native-inputs of some packages, but we may as well do this for all packages. * gnu/packages/admin.scm (thermald) [native-inputs]: Replace 'gtk-doc' with 'gtk-doc/stable'. * gnu/packages/glib.scm (glib-with-documentation): Likewise. * gnu/packages/mate.scm (mate-desktop, atril, caja-extensions) (mate-utils, eom, engrampa, pluma, mate-polkit) [native-inputs]: Likewise. * gnu/packages/messaging.scm (libgnt, loudmouth) [native-inputs]: Likewise. * gnu/packages/music.scm (denemo, gsequencer) [native-inputs]: Likewise. * gnu/packages/photo.scm (entangle) [native-inputs]: Likewise. * gnu/packages/security-token.scm (libu2f-host, libu2f-server) [native-inputs]: Likewise. * gnu/packages/wm.scm (keybinder, keybinder-3.0) [native-inputs]: Likewise. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Change-Id: I6c647ff1394e0a48bef0e6fb1ae43533673f1d79 Maxime Devos
2024-08-31gnu: Remove unneeded libxml2 from native-inputs. (gtk-doc)...The gtk-doc wrapped binaries use XML_CATALOG_FILES to perform XML catalog lookup and come with docbook-xsl within the variable which fixes the docbook-xsl stylesheet lookup related failures with these packages. This makes it unnecessary to include libxml2 as the cause of error was usually with the gtk-doc binaries. * gnu/packages/gnome.scm (gupnp-igd, dee, zeitgeist, libnma)[native-inputs]: Remove libxml2. * gnu/packages/rpm.scm (libmodulemd)[native-inputs]: Ditto. * gnu/packages/security-token.scm (libu2f-host)[native-inputs]: Ditto. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Bruno Victal
2024-08-31gnu: pcsc-lite: Update to 2.0.0....* gnu/packages/security-token.scm (pcsc-lite): Update to 2.0.0. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Arjan Adriaanse
2024-08-11gnu: eid-mw: Update to 5.1.19....* gnu/packages/security-token.scm (eid-mw): Update to 5.1.19. Change-Id: Ic4a8c67d689acb1d86ca5b477b92d29601dbe1e8 Tobias Geerinckx-Rice
2024-06-24gnu: opensc: Switch to new package style....* gnu/packages/security-token.scm (opensc)[arguments]: Use g-exps. Change-Id: I3e59323deb804ba98669d51771ccfa05a92723e3 Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Timotej Lazar
2024-06-24gnu: opensc: Update to 0.25.1....* gnu/packages/security-token.scm (opensc): Update to 0.25.1. Change-Id: I16dbf047671115274a25c3b1fba0285952f9f41d Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Timotej Lazar