File: skip-failing-yapf-test.patch

package info (click to toggle)
spyder 6.0.5%2Bds-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 24,672 kB
  • sloc: python: 121,632; sh: 420; xml: 142; javascript: 131; cpp: 67; makefile: 20; ansic: 19; erlang: 15; lisp: 11; java: 5
file content (16 lines) | stat: -rw-r--r-- 696 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
From: Jochen Sprickerhof <jspricke@debian.org> and Julian Gilbey <jdg@debian.org>
Last-Update: 2024-12-29
Subject: Skip a failing yapf test
Forwarded: https://github.com/spyder-ide/spyder/issues/18763

--- a/spyder/plugins/editor/widgets/codeeditor/tests/test_formatting.py
+++ b/spyder/plugins/editor/widgets/codeeditor/tests/test_formatting.py
@@ -22,7 +22,7 @@
 
 # ---- Tests
 @pytest.mark.order(1)
-@pytest.mark.parametrize('formatter', [autopep8, yapf, black])
+@pytest.mark.parametrize('formatter', [autopep8, black])
 @pytest.mark.parametrize('newline', ['\r\n', '\r', '\n'])
 def test_document_formatting(formatter, newline, completions_codeeditor,
                              qtbot):