File tree Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change 11from __future__ import annotations
22
3- import re
4-
53import ast
64import concurrent .futures
75import os
6+ import re
87import subprocess
98import time
109import uuid
@@ -1194,13 +1193,11 @@ def run_and_parse_tests(
11941193 f"stdout: { run_result .stdout } \n "
11951194 f"stderr: { run_result .stderr } \n "
11961195 )
1197- if ' ModuleNotFoundError' in run_result .stdout :
1196+ if " ModuleNotFoundError" in run_result .stdout :
11981197 from rich .text import Text
1199- match = re .search (r'^.*ModuleNotFoundError.*$' , run_result .stdout , re .MULTILINE ).group ()
1200- panel = Panel (
1201- Text .from_markup (f"⚠️ { match } " , style = "bold red" ),
1202- expand = False ,
1203- )
1198+
1199+ match = re .search (r"^.*ModuleNotFoundError.*$" , run_result .stdout , re .MULTILINE ).group ()
1200+ panel = Panel (Text .from_markup (f"⚠️ { match } " , style = "bold red" ), expand = False )
12041201 console .print (panel )
12051202 if testing_type in {TestingMode .BEHAVIOR , TestingMode .PERFORMANCE }:
12061203 results , coverage_results = parse_test_results (
You can’t perform that action at this time.
0 commit comments