forked from pool/python-pytest-examples
Compare commits
19 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 63b6564ecd | |||
| abca5b9c2d | |||
| 799b6587de | |||
| dbf93cc5c4 | |||
| 11071fc436 | |||
| 4ae8e191c0 | |||
| 52ff62d5a1 | |||
| d2acbce250 | |||
| a1ce19e4d3 | |||
| 156d5c19e7 | |||
| 906cbcb6b5 | |||
| eabd9cb398 | |||
| 50553bb4d7 | |||
| 3d08560b5d | |||
| b951eb5a7d | |||
| 8fd31d5232 | |||
| f531461c7e | |||
| 4209642d51 | |||
| e2d02ff05f |
28
newline.patch
Normal file
28
newline.patch
Normal file
@@ -0,0 +1,28 @@
|
||||
Index: pytest_examples-0.0.15/tests/test_run_examples.py
|
||||
===================================================================
|
||||
--- pytest_examples-0.0.15.orig/tests/test_run_examples.py
|
||||
+++ pytest_examples-0.0.15/tests/test_run_examples.py
|
||||
@@ -171,6 +171,7 @@ def test_find_run_examples(example: Code
|
||||
'@@ -4 +4 @@',
|
||||
'-x =[1,2, 3]',
|
||||
'+x = [1, 2, 3]',
|
||||
+ '',
|
||||
]
|
||||
|
||||
|
||||
@@ -205,6 +206,7 @@ def test_find_run_examples(example: Code
|
||||
'@@ -4 +4 @@',
|
||||
'-x·=[1,2,·3]',
|
||||
'+x·=·[1,·2,·3]',
|
||||
+ '',
|
||||
]
|
||||
|
||||
|
||||
@@ -251,6 +253,7 @@ def test_find_run_examples(example: Code
|
||||
'- 3',
|
||||
'-]',
|
||||
'+x = [1, 2, 3]',
|
||||
+ '',
|
||||
]
|
||||
|
||||
|
||||
BIN
pytest_examples-0.0.12.tar.gz
LFS
BIN
pytest_examples-0.0.12.tar.gz
LFS
Binary file not shown.
BIN
pytest_examples-0.0.13.tar.gz
LFS
BIN
pytest_examples-0.0.13.tar.gz
LFS
Binary file not shown.
BIN
pytest_examples-0.0.17.tar.gz
LFS
Normal file
BIN
pytest_examples-0.0.17.tar.gz
LFS
Normal file
Binary file not shown.
@@ -1,3 +1,23 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 28 16:51:32 UTC 2025 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 0.0.17:
|
||||
* Improve logic for finding print statements
|
||||
* Ensure `print_callback` runs before formatting print args
|
||||
- update to 0.0.16:
|
||||
* add `include_print` config function
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 17 16:49:17 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
- update to 0.0.15
|
||||
* Adopt uv
|
||||
* support for calling a function/coroutine
|
||||
* Fix for single line docstrings
|
||||
* Typechecking
|
||||
* Allow matching prefix with curly braces
|
||||
- add newline.patch to adapt tests to pytest 8.3.4
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Aug 18 16:50:49 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-pytest-examples
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -18,13 +18,15 @@
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-pytest-examples
|
||||
Version: 0.0.13
|
||||
Version: 0.0.17
|
||||
Release: 0
|
||||
Summary: Pytest plugin for testing examples in docstrings and markdown files
|
||||
License: MIT
|
||||
URL: https://github.com/pydantic/pytest-examples
|
||||
# sdist without tests
|
||||
Source: https://files.pythonhosted.org/packages/source/p/pytest-examples/pytest_examples-%{version}.tar.gz
|
||||
# PATCH-FIX-UPSTREAM https://github.com/pydantic/pytest-examples/pull/54 adapt tests to pytest 8.3.4
|
||||
Patch: newline.patch
|
||||
BuildRequires: %{python_module black}
|
||||
BuildRequires: %{python_module hatchling}
|
||||
BuildRequires: %{python_module pip}
|
||||
|
||||
Reference in New Issue
Block a user