def test_missing_or_bad_attrs(self):
    svg = ElementTree.fromstring((XML_HEADER + b'<svg></svg>'))
    self.assertIsNone(svg_util.make_square(svg))
    svg = ElementTree.fromstring((XML_HEADER + b'<svg widTH="abc" height="2222px"></svg>'))
    self.assertIsNone(svg_util.make_square(svg))
def test_missing_or_bad_attrs(self):
    svg = ElementTree.fromstring((XML_HEADER + b'<svg></svg>'))
    self.assertIsNone(svg_util.make_square(svg))
    svg = ElementTree.fromstring((XML_HEADER + b'<svg widTH="abc" height="2222px"></svg>'))
    self.assertIsNone(svg_util.make_square(svg))