'Only a tag containing a single text node has a .string.'

def test_lack_of_string(self):

    soup = self.soup('<b>f<i>e</i>o</b>')
    self.assertFalse(soup.b.string)
    soup = self.soup('<b></b>')
    self.assertFalse(soup.b.string)
