Skip to content

Commit

Permalink
Typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
jfjlaros committed Mar 17, 2020
1 parent 2b28f41 commit 62138ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_trie.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,11 +218,11 @@ def test_levenshtein_1_prefix(self):
def test_levenshtein_1_ins(self):
assert self._trie.levenshtein('abbc', 1) == 'abc'

def test_all_hamming__2(self):
def test_all_hamming_2(self):
assert set(self._trie.all_hamming_('acb', 2)) == set(
[('abc', 2, '=XX'), ('abd', 2, '=XX')])

def test_all_levenshtein__2(self):
def test_all_levenshtein_2(self):
assert set(self._trie.all_levenshtein_('acb', 2)) == set([
('abc', 2, '=D=I'), ('abd', 2, '=D=I'), ('abc', 2, '=XX'),
('abd', 2, '=XX'), ('abc', 2, '=I=D')])
Expand Down

0 comments on commit 62138ec

Please sign in to comment.