File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 5050def about (level : int = 1 ) -> None :
5151 """
5252 Print information about ``importcheck``.
53+
54+ :param level:
5355 """
5456
5557 if not level :
Original file line number Diff line number Diff line change 2525
2626def fix_stdout (stdout : str ) -> str :
2727 stdout = stdout .rstrip ().replace (
28- f"{ platform .python_implementation ()} v{ platform .python_version ()} " , "FakePython v1.2.3"
28+ f"{ platform .python_implementation ()} v{ platform .python_version ()} " ,
29+ "FakePython v1.2.3" ,
2930 )
3031 stdout = stdout .replace (f"importcheck version { __version__ } " , "importcheck version 0.0.0" )
3132 stdout = re .sub (r"python3.(\d+)" , "python3.8" , stdout )
@@ -39,7 +40,7 @@ def fix_stdout(stdout: str) -> str:
3940 pytest .param ("Windows" , marks = only_windows ("Output differs on Windows" )),
4041 pytest .param (
4142 "Linux" ,
42- marks = [not_windows ("Output differs on Linux" ), not_macos ("Output differs on Linux" )]
43+ marks = [not_windows ("Output differs on Linux" ), not_macos ("Output differs on Linux" )],
4344 ),
4445 pytest .param ("Darwin" , marks = only_macos ("Output differs on macOS" )),
4546 ]
You can’t perform that action at this time.
0 commit comments