File: 0002-Test-files-are-not-exist-in-Debian-source.patch

package info (click to toggle)
python-brotlicffi 1.1.0.0%2Bds1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 168 kB
  • sloc: python: 642; makefile: 8
file content (24 lines) | stat: -rw-r--r-- 796 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
From: YOKOTA Hiroshi <yokota.hgml@gmail.com>
Date: Mon, 29 Apr 2024 11:54:23 +0900
Subject: Test files are not exist in Debian source

Forwarded: not-needed

Some test requires libbrotli files that dropped from Debian source.
This patch disables such tests.
---
 test/conftest.py | 1 -
 1 file changed, 1 deletion(-)

diff --git a/test/conftest.py b/test/conftest.py
index e1de064..dee1c61 100644
--- a/test/conftest.py
+++ b/test/conftest.py
@@ -8,7 +8,6 @@ import pytest
 curdir = os.path.split(os.path.dirname(__file__))[0]
 TEST_DATA_DIR = os.path.join(curdir, 'libbrotli', 'tests', 'testdata')
 simple_test_files = [
-    os.path.join(TEST_DATA_DIR, p) for p in os.listdir(TEST_DATA_DIR)
 ]
 compressed_simple_test_files = set(
     f for f in simple_test_files if f.endswith('.compressed')