

def test_Lsaviewer(self):
    from vsm.viewer.labeleddata import LabeledColumn, IndexedSymmArray
    sww = self.v.dist_word_word('1')
    swwl = self.v.dist_word_word(['1', '0'])
    sdd = self.v.dist_doc_doc(1)
    sddl = self.v.dist_doc_doc([1, 0])
    self.assertTrue((type(sww) == LabeledColumn))
    self.assertTrue((type(self) == LabeledColumn))
    self.assertTrue((type(sdd) == LabeledColumn))
    self.assertTrue((type(sddl) == LabeledColumn))
    sw = self.v.dismat_word(['2', '4', '5'])
    sd = self.v.dismat_doc([1, 0])
    self.assertTrue((type(sw) == IndexedSymmArray))
    self.assertTrue((type(sd) == IndexedSymmArray))

dataset/ETHPy150Open inpho/vsm/unit_tests/tests_lsaviewer.py TestLsaViewer.test_Lsaviewer/VarMisuse@94/129 `swwl`->`self`