forked from pool/python-pytest-examples
Accepting request 1238937 from home:mcalabkova:branches:devel:languages:python:pytest
- 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 OBS-URL: https://build.opensuse.org/request/show/1238937 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-examples?expand=0&rev=17
This commit is contained in:
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]',
|
||||
+ '',
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user