Loading tests/test_black.py +6 −1 Changes for tests/test_black.py: 6 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -162,7 +162,12 @@ def invokeBlack( self.assertEqual( result.exit_code, exit_code, msg=f"Failed with args: {args}. Stderr: {runner.stderr_bytes.decode()!r}", msg=( f"Failed with args: {args}\n" f"stdout: {runner.stdout_bytes.decode()!r}\n" f"stderr: {runner.stderr_bytes.decode()!r}\n" f"exception: {result.exception}" ), ) @patch("black.dump_to_file", dump_to_stderr) Loading Loading
tests/test_black.py +6 −1 Changes for tests/test_black.py: 6 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -162,7 +162,12 @@ def invokeBlack( self.assertEqual( result.exit_code, exit_code, msg=f"Failed with args: {args}. Stderr: {runner.stderr_bytes.decode()!r}", msg=( f"Failed with args: {args}\n" f"stdout: {runner.stdout_bytes.decode()!r}\n" f"stderr: {runner.stderr_bytes.decode()!r}\n" f"exception: {result.exception}" ), ) @patch("black.dump_to_file", dump_to_stderr) Loading