File: 0001_Testsuite_Fix.patch

package info (click to toggle)
python-poetry-dynamic-versioning 1.9.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 460 kB
  • sloc: python: 1,528; makefile: 4
file content (31 lines) | stat: -rw-r--r-- 1,079 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Description: Fix testsuite error in 1.8.2
Forwarded: https://github.com/mtkennerly/poetry-dynamic-versioning/pull/229
Author: Louis-Philippe Véronneau <pollo@debian.org>
Index: python-poetry-dynamic-versioning/tests/test_unit.py
===================================================================
--- python-poetry-dynamic-versioning.orig/tests/test_unit.py
+++ python-poetry-dynamic-versioning/tests/test_unit.py
@@ -279,7 +279,6 @@ def test__enable_in_doc__project_with_ve
             [project]
             dynamic = ["version"]
 
-            [tool]
             [tool.poetry-dynamic-versioning]
             enable = true
 
@@ -307,7 +306,6 @@ def test__enable_in_doc__project_with_ve
             [project]
             dynamic = ["version"]
 
-            [tool]
             [tool.poetry-dynamic-versioning]
             enable = true
 
@@ -336,7 +334,6 @@ def test__enable_in_doc__project_with_dy
             [project]
             dynamic = ["version", "dependencies"]
 
-            [tool]
             [tool.poetry-dynamic-versioning]
             enable = true