2023-01-09 13:52:13 +01:00
|
|
|
From 8b07b529458e1fc007c8ee848d66035b3403a22d Mon Sep 17 00:00:00 2001
|
2021-11-16 12:00:40 +01:00
|
|
|
From: Victor Zhestkov <35733135+vzhestkov@users.noreply.github.com>
|
|
|
|
Date: Mon, 8 Nov 2021 17:43:02 +0300
|
|
|
|
Subject: [PATCH] Fix traceback.print_exc calls for test_pip_state (#432)
|
|
|
|
|
|
|
|
---
|
2022-01-27 16:38:33 +01:00
|
|
|
tests/unit/states/test_pip_state.py | 2 +-
|
|
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
2021-11-16 12:00:40 +01:00
|
|
|
|
|
|
|
diff --git a/tests/unit/states/test_pip_state.py b/tests/unit/states/test_pip_state.py
|
2023-01-09 13:52:13 +01:00
|
|
|
index 93b8b3bd71..9531b6d2be 100644
|
2021-11-16 12:00:40 +01:00
|
|
|
--- a/tests/unit/states/test_pip_state.py
|
|
|
|
+++ b/tests/unit/states/test_pip_state.py
|
2023-01-09 13:52:13 +01:00
|
|
|
@@ -441,7 +441,7 @@ class PipStateInstallationErrorTest(TestCase):
|
2021-11-16 12:00:40 +01:00
|
|
|
sys.stdout.flush()
|
|
|
|
sys.exit(2)
|
|
|
|
except Exception as exc:
|
|
|
|
- traceback.print_exc(exc, file=sys.stdout)
|
|
|
|
+ traceback.print_exc(file=sys.stdout)
|
|
|
|
sys.stdout.flush()
|
|
|
|
sys.exit(3)
|
|
|
|
sys.exit(0)
|
|
|
|
--
|
2023-01-09 13:52:13 +01:00
|
|
|
2.37.3
|
2021-11-16 12:00:40 +01:00
|
|
|
|
|
|
|
|