Debian Codegraph @

debian/patches/skip-font-path-test.patch

raw symbols SCIP
1 From: Julian Gilbey <[email protected]>
2 Last-Update: 2025-03-31
3 Subject: Skip font location test
4 We run the tests out-of-tree, but this test assumes that the test file
5 is in the installed qtawesome package.
6 Forwarded: not-needed
7
8 --- a/qtawesome/tests/test_qtawesome.py
9 +++ b/qtawesome/tests/test_qtawesome.py
10 @@ -82,11 +82,6 @@
11 for _prefix, font_filename, _charmap_filename in qta._BUNDLED_FONTS
12 ]
13 fonts_root_dir, fonts_list = qta.get_fonts_info()
14 - assert os.path.normcase(fonts_root_dir) == os.path.normcase(
15 - os.path.join(
16 - os.path.dirname(os.path.dirname(os.path.realpath(__file__))), "fonts"
17 - )
18 - )
19 assert set(fonts_list) == set(fonts_expected)
20
21