[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#69591] [PATCH 06/31] gnu: Add python-expecttest.
From: |
David Elsing |
Subject: |
[bug#69591] [PATCH 06/31] gnu: Add python-expecttest. |
Date: |
Wed, 6 Mar 2024 19:40:12 +0000 |
* gnu/packages/python-check.scm (python-expecttest): New variable.
---
gnu/packages/python-check.scm | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 2338f32801..94694316ca 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -2077,6 +2077,41 @@ (define-public python-eradicate
valid Python syntax that are likely to be commented out code.")
(license license:expat)))
+(define-public python-expecttest
+ (let ((commit "683b09a352cc426851adc2e3a9f46e0ab25e4dee")
+ (revision "0"))
+ (package
+ (name "python-expecttest")
+ (version (git-version "0.2.1" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/ezyang/expecttest")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1djwxp9x1hczzxbimv1b1bmd083am88v27l82nmlkhvzyg2cmpvv"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ ;; The test runs tests expected to fail, so the output is
+ ;; confusing
+ (invoke "python3" "test_expecttest.py")))))))
+ (native-inputs (list python-hypothesis poetry))
+ (home-page "https://github.com/ezyang/expecttest")
+ (synopsis "Python module for expect tests")
+ (description "@code{expecttest} is a Python module for expect tests,
where
+the initial expected value of a test can be automatically set by running the
+test itself.")
+ (license license:expat))))
+
(define-public python-robber
(package
(name "python-robber")
--
2.41.0
- [bug#69591] [PATCH 00/31] Unbundle and update python-pytorch, David Elsing, 2024/03/06
- [bug#69591] [PATCH 01/31] gnu: asmjit: Update to commit 3ca5c18., David Elsing, 2024/03/06
- [bug#69591] [PATCH 03/31] gnu: Add python-optree., David Elsing, 2024/03/06
- [bug#69591] [PATCH 02/31] gnu: Add python-typing-extensions-4.10., David Elsing, 2024/03/06
- [bug#69591] [PATCH 05/31] gnu: Add python-pytest-shard., David Elsing, 2024/03/06
- [bug#69591] [PATCH 04/31] gnu: Add python-pytest-flakefinder., David Elsing, 2024/03/06
- [bug#69591] [PATCH 07/31] gnu: Add python-pytest-rerunfailures-13., David Elsing, 2024/03/06
- [bug#69591] [PATCH 09/31] gnu: Add miniz-for-pytorch., David Elsing, 2024/03/06
- [bug#69591] [PATCH 10/31] gnu: Add libnop., David Elsing, 2024/03/06
- [bug#69591] [PATCH 06/31] gnu: Add python-expecttest.,
David Elsing <=
- [bug#69591] [PATCH 08/31] gnu: Add miniz., David Elsing, 2024/03/06
- [bug#69591] [PATCH 11/31] gnu: Remove flatbuffers-next-shared., David Elsing, 2024/03/06
- [bug#69591] [PATCH 16/31] gnu: nnpack: Update to commit 70a77f4., David Elsing, 2024/03/06
- [bug#69591] [PATCH 14/31] gnu: cpuinfo: Update to commit aa4b216., David Elsing, 2024/03/06
- [bug#69591] [PATCH 12/31] gnu: python-flatbuffers-next: Update to 23.5.26., David Elsing, 2024/03/06
- [bug#69591] [PATCH 22/31] gnu: Add ideep-pytorch., David Elsing, 2024/03/06
- [bug#69591] [PATCH 13/31] gnu: pthreadpool: Update to commit 178e3e0., David Elsing, 2024/03/06
- [bug#69591] [PATCH 23/31] gnu: xnnpack: Update to commit 51a9875., David Elsing, 2024/03/06
- [bug#69591] [PATCH 15/31] gnu: clog: Add "-DUSE_SYSTEM_LIBS=ON" configure flag., David Elsing, 2024/03/06
- [bug#69591] [PATCH 20/31] gnu: Add qnnpack., David Elsing, 2024/03/06