File: skip-local-doc-build.diff

package info (click to toggle)
pygame 2.6.1-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 42,624 kB
  • sloc: ansic: 66,926; python: 48,742; javascript: 1,153; objc: 224; sh: 121; makefile: 59; cpp: 25
file content (20 lines) | stat: -rw-r--r-- 723 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
Description: skip test_docs_included to pass salsa ci
 see log:
 https://salsa.debian.org/python-team/packages/pygame/-/jobs/5535012
 It always failed in the past.
Author: Bo YU <tsu.yubo@gmail.com>
Forwarded: not-needed
Last-Update: 2024-04-03
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/test/docs_test.py
+++ b/test/docs_test.py
@@ -8,7 +8,7 @@
     def test_doc_import_works(self):
         from pygame.docs.__main__ import has_local_docs, open_docs
 
-    @unittest.skipIf("CI" not in os.environ, "Docs not required for local builds")
+    @unittest.skip("Docs not required for local builds")
     def test_docs_included(self):
         from pygame.docs.__main__ import has_local_docs