def test_noOutputLabels(self):
        """
        L{tableMaker} does not add a colspan attribute to the input
        label's cell or a second row if there no output labels.
        """
        table = self.tableMaker("input label", (), port=self.port)
        self.assertEqual(len(table.children), 1)
        (inputLabelRow,) = table.children
        self.assertNotIn("colspan", inputLabelRow.attributes)

        L{tableMaker} does not add a colspan attribute to the input
        label's cell or a second row if there no output labels.
        
stackoverflow/venv/lib/python3.6/site-packages/automat/_test/test_visualize.py