Blame SOURCES/0001-Remove-test-only-dependency-pexpect.patch

4d3208
From 787944c580596237b732e227075e9e9e257681a6 Mon Sep 17 00:00:00 2001
4d3208
From: Tomas Orsava <torsava@redhat.com>
4d3208
Date: Tue, 15 Jun 2021 11:15:19 +0200
4d3208
Subject: [PATCH] Remove test-only dependency pexpect
4d3208
4d3208
---
4d3208
 test_pytest_timeout.py | 5 ++++-
4d3208
 1 file changed, 4 insertions(+), 1 deletion(-)
4d3208
4d3208
diff --git a/test_pytest_timeout.py b/test_pytest_timeout.py
4d3208
index 16302d7..fe0dd05 100644
4d3208
--- a/test_pytest_timeout.py
4d3208
+++ b/test_pytest_timeout.py
4d3208
@@ -3,7 +3,10 @@ import signal
4d3208
 import sys
4d3208
 import time
4d3208
 
4d3208
-import pexpect
4d3208
+try:
4d3208
+    import pexpect
4d3208
+except ImportError:
4d3208
+    pexpect = None  # does not have spawn :)
4d3208
 import pytest
4d3208
 
4d3208
 pytest_plugins = "pytester"
4d3208
-- 
4d3208
2.31.1
4d3208