def test_borders_table_collapse_equivalent(assert_same_renderings, styles):
    """Test the rendering of equivalent collapsing borders."""
    source = '''
      <style>
        @page { size: 140px 110px }
        table { width: 100px; height: 70px; margin: 10px;
                border-collapse: collapse; border: 10px %s blue }
      </style>
      <table><td>abc</td>'''

    documents = (source % border_style for border_style in styles)
    assert_same_renderings(*documents)
Test the rendering of equivalent collapsing borders.
tests/draw/test_box.py