Skip to content
Snippets Groups Projects
Verified Commit e1766e56 authored by Patrycja Rosa's avatar Patrycja Rosa :cat:
Browse files

testing/py3-docformatter: fix tests with python 3.12

parent 15c194a7
No related branches found
No related tags found
No related merge requests found
......@@ -21,7 +21,9 @@ checkdepends="
py3-pytest-xdist
"
subpackages="$pkgname-pyc"
source="$pkgname-$pkgver.tar.gz::https://github.com/PyCQA/docformatter/archive/refs/tags/v$pkgver.tar.gz"
source="$pkgname-$pkgver.tar.gz::https://github.com/PyCQA/docformatter/archive/refs/tags/v$pkgver.tar.gz
fix-tests.patch
"
builddir="$srcdir/docformatter-$pkgver"
build() {
......@@ -50,4 +52,5 @@ package() {
sha512sums="
bb3e7674845632be7b75151a874987582f7cba2682905b0527a1bb8cda37156931ade35cb712ffba91d510e89a45474d5df8f41bea6979cc933f7ec999cf01f4 py3-docformatter-1.7.5.tar.gz
a9f9a970b74c8a353df99ba3b005197562f4a320a5f38913cfafb1d13c2f45a6ce1aa5899ed219e72cc52a5c3ca3b690cee029a7b13f13768952c239ca2a0d87 fix-tests.patch
"
diff --git a/tests/_data/string_files/do_format_code.toml b/tests/_data/string_files/do_format_code.toml
index 5d886f3..794431e 100644
--- a/tests/_data/string_files/do_format_code.toml
+++ b/tests/_data/string_files/do_format_code.toml
@@ -43,3 +43,3 @@ outstring='''
"""docstring for CONST."""
-'''
+ '''
@@ -60,3 +60,3 @@ outstring='''
"""
-'''
+ '''
@@ -86,3 +86,3 @@ outstring='''
"""This is a second class variable docstring."""
-'''
+ '''
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment