Debian Codegraph @

debian/patches/0002-Test-files-are-not-exist-in-Debian-source.patch

raw
1 From: YOKOTA Hiroshi <[email protected]>
2 Date: Mon, 29 Apr 2024 11:54:23 +0900
3 Subject: Test files are not exist in Debian source
4
5 Forwarded: not-needed
6
7 Some test requires libbrotli files that dropped from Debian source.
8 This patch disables such tests.
9 ---
10 test/conftest.py | 1 -
11 1 file changed, 1 deletion(-)
12
13 diff --git a/test/conftest.py b/test/conftest.py
14 index e1de064..dee1c61 100644
15 --- a/test/conftest.py
16 +++ b/test/conftest.py
17 @@ -8,7 +8,6 @@ import pytest
18 curdir = os.path.split(os.path.dirname(__file__))[0]
19 TEST_DATA_DIR = os.path.join(curdir, 'libbrotli', 'tests', 'testdata')
20 simple_test_files = [
21 - os.path.join(TEST_DATA_DIR, p) for p in os.listdir(TEST_DATA_DIR)
22 ]
23 compressed_simple_test_files = set(
24 f for f in simple_test_files if f.endswith('.compressed')