diff mbox series

[RFC,6/6] iotests: don't add qemu.git/python to PYTHONPATH

Message ID 20230621002121.1609612-7-jsnow@redhat.com
State New
Headers show
Series Switch iotests to pyvenv | expand

Commit Message

John Snow June 21, 2023, 12:21 a.m. UTC
qemu.* should be provided by the configure-time venv, now.

Signed-off-by: John Snow <jsnow@redhat.com>
---
 tests/qemu-iotests/testenv.py | 4 ----
 1 file changed, 4 deletions(-)
diff mbox series

Patch

diff --git a/tests/qemu-iotests/testenv.py b/tests/qemu-iotests/testenv.py
index 1b095d70f2..6441145701 100644
--- a/tests/qemu-iotests/testenv.py
+++ b/tests/qemu-iotests/testenv.py
@@ -108,12 +108,8 @@  def init_directories(self) -> None:
              SAMPLE_IMG_DIR
         """
 
-        # Path where qemu goodies live in this source tree.
-        qemu_srctree_path = Path(__file__, '../../../python').resolve()
-
         self.pythonpath = os.pathsep.join(filter(None, (
             self.source_iotests,
-            str(qemu_srctree_path),
             os.getenv('PYTHONPATH'),
         )))