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): k's customized Guix
aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/openpgp.scm
AgeCommit message (Expand)Author
2023-03-13gnu: rnp: Improve package style....* gnu/package/openpgp.scm (rnp)[phases]{fixes}: Rename fixes to patch-tests, use search-input-file, and remove trailing #t. {check}: Respect tests?. [native-inputs]: Remove labels. [home-page]: Update URL. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Jack Hill
2023-03-13gnu: rnp: Update to 0.16.2....* gnu/packages/openpgp.scm (rnp): Update to 0.16.2. [file-name]: Use git-file-name. [patches]: Remove. [arguments]: Disable downloading testing inputs in #:configure-flags. [phases]{fixes}: Remove functionality that is no longer needed. [native-inputs]: Replace googletest-source with googletest, remove python2. * gnu/packages/patches/rnp-add-version.cmake.patch, * gnu/packages/patches/rnp-disable-ruby-rnp-tests.patch, * gnu/packages/patches/rnp-unbundle-googletest.patch: Remove files. * gnu/local.mk (dist_patch_DATA): Remove them. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Jack Hill