forked from pool/python-executing
Compare commits
15 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 2225355c1c | |||
| b4972a92de | |||
| c1711054df | |||
| 99e2f9fe62 | |||
| c9ffd7439b | |||
| 86dd7e31f3 | |||
| 2bc77f1780 | |||
| 670786715f | |||
| 8079568381 | |||
| 234322b8d1 | |||
| 2c4a66a529 | |||
| 1c99f4c877 | |||
| 77b6be5ecc | |||
| 41f8d3f1ec | |||
| b3c613d68f |
@@ -1,9 +1,3 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 9 06:44:07 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Add patch support-pytest-8.4.patch:
|
||||
* Do not allow pytest to collect non-test functions.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 10 09:25:36 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
|
||||
@@ -32,8 +32,6 @@ Summary: Get the currently executing AST node of a frame, and other infor
|
||||
License: MIT
|
||||
URL: https://github.com/alexmojaki/executing
|
||||
Source: https://files.pythonhosted.org/packages/source/e/executing/executing-%{version}.tar.gz
|
||||
# PATCH-FIX-UPSTREAM One commit from gh#alexmojaki/executing#97
|
||||
Patch0: support-pytest-8.4.patch
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools_scm >= 4.0.0}
|
||||
|
||||
@@ -1,24 +0,0 @@
|
||||
From fae0dd2f4bd0e74b8a928e19407fd4167f4b2295 Mon Sep 17 00:00:00 2001
|
||||
From: Frank Hoffmann <15r10nk-git@polarbit.de>
|
||||
Date: Wed, 18 Jun 2025 22:20:25 +0200
|
||||
Subject: [PATCH] fix: prevent pytest from thinking that Tester() could be a
|
||||
test function
|
||||
|
||||
---
|
||||
pyproject.toml | 5 ++++-
|
||||
1 file changed, 4 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/pyproject.toml b/pyproject.toml
|
||||
index d5cf1ab..226e061 100644
|
||||
--- a/pyproject.toml
|
||||
+++ b/pyproject.toml
|
||||
@@ -14,4 +14,7 @@ warn_redundant_casts=true
|
||||
|
||||
[[tool.mypy.overrides]]
|
||||
module = "astroid"
|
||||
-ignore_missing_imports = true
|
||||
\ No newline at end of file
|
||||
+ignore_missing_imports = true
|
||||
+
|
||||
+[tool.pytest.ini_options]
|
||||
+python_functions = "test_"
|
||||
Reference in New Issue
Block a user