Fixing unit tests for Channel command
This commit is contained in:
parent
2da679cdd1
commit
bbfb77022e
4 changed files with 64 additions and 69 deletions
|
|
@ -1853,10 +1853,12 @@ def format_grid(elements, width=78, sep=" ", verbatim_elements=None):
|
|||
decorations in the grid, such as horizontal bars.
|
||||
|
||||
Returns:
|
||||
gridstr: The grid as a list of ready-formatted rows. We return it
|
||||
list: The grid as a list of ready-formatted rows. We return it
|
||||
like this to make it easier to insert decorations between rows, such
|
||||
as horizontal bars.
|
||||
"""
|
||||
if not elements:
|
||||
return []
|
||||
if not verbatim_elements:
|
||||
verbatim_elements = []
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue