Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
aports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
alpine
aports
Commits
e1766e56
Verified
Commit
e1766e56
authored
11 months ago
by
Patrycja Rosa
Browse files
Options
Downloads
Patches
Plain Diff
testing/py3-docformatter: fix tests with python 3.12
parent
15c194a7
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
testing/py3-docformatter/APKBUILD
+4
-1
4 additions, 1 deletion
testing/py3-docformatter/APKBUILD
testing/py3-docformatter/fix-tests.patch
+19
-0
19 additions, 0 deletions
testing/py3-docformatter/fix-tests.patch
with
23 additions
and
1 deletion
testing/py3-docformatter/APKBUILD
+
4
−
1
View file @
e1766e56
...
...
@@ -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
"
This diff is collapsed.
Click to expand it.
testing/py3-docformatter/fix-tests.patch
0 → 100644
+
19
−
0
View file @
e1766e56
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."""
-'''
+ '''
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment