From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DA6361382C5 for ; Wed, 21 Feb 2018 23:37:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1284DE08CA; Wed, 21 Feb 2018 23:37:01 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E2E15E08CA for ; Wed, 21 Feb 2018 23:37:00 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 975C5335C30 for ; Wed, 21 Feb 2018 23:36:59 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 602681F1 for ; Wed, 21 Feb 2018 23:36:52 +0000 (UTC) From: "Zac Medico" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" Message-ID: <1519256184.572861a1201ca67e18ce2ccae87480a2600b6ae2.zmedico@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: pym/portage/tests/bin/ X-VCS-Repository: proj/portage X-VCS-Files: pym/portage/tests/bin/test_filter_bash_env.py X-VCS-Directories: pym/portage/tests/bin/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: 572861a1201ca67e18ce2ccae87480a2600b6ae2 X-VCS-Branch: master Date: Wed, 21 Feb 2018 23:36:52 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 058bd727-2a40-4ba4-b160-fb38a9e666cc X-Archives-Hash: 014b84e9b64bf312f8f3a8ecba6fbfc7 commit: 572861a1201ca67e18ce2ccae87480a2600b6ae2 Author: Zac Medico gentoo org> AuthorDate: Wed Feb 21 23:35:21 2018 +0000 Commit: Zac Medico gentoo org> CommitDate: Wed Feb 21 23:36:24 2018 +0000 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=572861a1 test_filter_bash_env.py: fix DeprecationWarning: invalid escape sequence \$ Fixes: f1367a2eeb0c ("filter-bash-environment.py: use buffered input, raw bytes (bug 647654)") pym/portage/tests/bin/test_filter_bash_env.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pym/portage/tests/bin/test_filter_bash_env.py b/pym/portage/tests/bin/test_filter_bash_env.py index 10847bb7d..d906ea793 100644 --- a/pym/portage/tests/bin/test_filter_bash_env.py +++ b/pym/portage/tests/bin/test_filter_bash_env.py @@ -16,7 +16,7 @@ class TestFilterBashEnv(TestCase): test_cases = ( ( 'RDEPEND BASH.* _EPATCH_ECLASS', - b'''declare -ir BASHPID="28997" + br'''declare -ir BASHPID="28997" declare -rx A="portage-2.3.24.tar.bz2" declare -- DESKTOP_DATABASE_DIR="/usr/share/applications" declare PDEPEND=" @@ -53,7 +53,7 @@ use_if_iuse () use $1 } ''', - b'''declare -x A="portage-2.3.24.tar.bz2" + br'''declare -x A="portage-2.3.24.tar.bz2" declare -- DESKTOP_DATABASE_DIR="/usr/share/applications" declare PDEPEND=" !build? (