Debian Codegraph @

debian/patches/0003.fixed-path-module-to-test.patch

raw
1 From: Josenilson Ferreira da Silva <[email protected]>
2 Date: Mon, 27 Apr 2025 22:00:00 -0300
3 Subject: Fix import path for syntax_errors_descriptions
4 Forwarded: not-needed
5
6 Fix relative import broken when running tests from the build directory.
7 ---
8 Index: python-friendly-traceback/tests/syntax/catch_syntax_error.py
9 ===================================================================
10 --- python-friendly-traceback.orig/tests/syntax/catch_syntax_error.py
11 +++ python-friendly-traceback/tests/syntax/catch_syntax_error.py
12 @@ -3,7 +3,7 @@ import sys
13 import pytest
14
15 import friendly_traceback
16 -from syntax_errors_descriptions import descriptions
17 +from tests.syntax_errors_descriptions import descriptions
18
19 friendly_traceback.set_lang("en")
20