summaryrefslogtreecommitdiffstats
path: root/pym/portage/tests/dbapi/test_portdb_cache.py
diff options
context:
space:
mode:
Diffstat (limited to 'pym/portage/tests/dbapi/test_portdb_cache.py')
-rw-r--r--pym/portage/tests/dbapi/test_portdb_cache.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pym/portage/tests/dbapi/test_portdb_cache.py b/pym/portage/tests/dbapi/test_portdb_cache.py
index 67b961aeb..b9f9fed5a 100644
--- a/pym/portage/tests/dbapi/test_portdb_cache.py
+++ b/pym/portage/tests/dbapi/test_portdb_cache.py
@@ -87,12 +87,12 @@ class PortdbCacheTestCase(TestCase):
(BASH_BINARY, "-c", "echo %s > %s" %
tuple(map(portage._shell_quote,
("cache-formats = pms md5-dict", layout_conf_path,)))),
- (portage_python, "-c") + (textwrap.dedent("""
+ (portage_python, "-Wi", "-c") + (textwrap.dedent("""
import os, sys, portage
if portage.portdb.porttree_root not in portage.portdb._pregen_auxdb:
sys.exit(1)
"""),),
- (portage_python, "-c") + (textwrap.dedent("""
+ (portage_python, "-Wi", "-c") + (textwrap.dedent("""
import os, sys, portage
from portage.cache.metadata import database as pms_database
if not isinstance(portage.portdb._pregen_auxdb[portage.portdb.porttree_root], pms_database):