old_contents: #!/usr/bin/env python3
  """
  test panflute ast to markdown conversion
  """
  from .context import table2csv
  from panflute import *
  import pickle
  
  
  def test_table2csv():
      # get_table_body
      with open('tests/grid_tables.pkl', 'rb') as file:
          doc = pickle.load(file)
      elem = doc.content[0]
      code_block = table2csv(elem, {})
      assert str(code_block) == '''CodeBlock(---
  alignment: LRCD
  caption: '*abcd*'
  header: true
  markdown: true
  table-width: 0
  width: [0, 0, 0, 0]
  ---
  1,2,3,4\r\n1,2,3,4\r\n; classes=['table'])'''
      return
  
new_contents: """
  test panflute ast to markdown conversion
  """
  from .context import table2csv
  from panflute import *
  import pickle
  
  
  def test_table2csv():
      # get_table_body
      with open('tests/grid_tables.pkl', 'rb') as file:
          doc = pickle.load(file)
      elem = doc.content[0]
      code_block = table2csv(elem, {})
      assert str(code_block) == '''CodeBlock(---
  alignment: LRCD
  caption: '*abcd*'
  header: true
  markdown: true
  table-width: 0
  width: [0, 0, 0, 0]
  ---
  1,2,3,4\r\n1,2,3,4\r\n; classes=['table'])'''
      return
  
subject: remove redundant shebang