1 |
commit: 572861a1201ca67e18ce2ccae87480a2600b6ae2 |
2 |
Author: Zac Medico <zmedico <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Feb 21 23:35:21 2018 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Feb 21 23:36:24 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=572861a1 |
7 |
|
8 |
test_filter_bash_env.py: fix DeprecationWarning: invalid escape sequence \$ |
9 |
|
10 |
Fixes: f1367a2eeb0c ("filter-bash-environment.py: use buffered input, raw bytes (bug 647654)") |
11 |
|
12 |
pym/portage/tests/bin/test_filter_bash_env.py | 4 ++-- |
13 |
1 file changed, 2 insertions(+), 2 deletions(-) |
14 |
|
15 |
diff --git a/pym/portage/tests/bin/test_filter_bash_env.py b/pym/portage/tests/bin/test_filter_bash_env.py |
16 |
index 10847bb7d..d906ea793 100644 |
17 |
--- a/pym/portage/tests/bin/test_filter_bash_env.py |
18 |
+++ b/pym/portage/tests/bin/test_filter_bash_env.py |
19 |
@@ -16,7 +16,7 @@ class TestFilterBashEnv(TestCase): |
20 |
test_cases = ( |
21 |
( |
22 |
'RDEPEND BASH.* _EPATCH_ECLASS', |
23 |
- b'''declare -ir BASHPID="28997" |
24 |
+ br'''declare -ir BASHPID="28997" |
25 |
declare -rx A="portage-2.3.24.tar.bz2" |
26 |
declare -- DESKTOP_DATABASE_DIR="/usr/share/applications" |
27 |
declare PDEPEND=" |
28 |
@@ -53,7 +53,7 @@ use_if_iuse () |
29 |
use $1 |
30 |
} |
31 |
''', |
32 |
- b'''declare -x A="portage-2.3.24.tar.bz2" |
33 |
+ br'''declare -x A="portage-2.3.24.tar.bz2" |
34 |
declare -- DESKTOP_DATABASE_DIR="/usr/share/applications" |
35 |
declare PDEPEND=" |
36 |
!build? ( |