fix test/stateful_encode.py typos

This commit is contained in:
jesopo 2020-03-11 17:13:10 +00:00
parent 8630c63f46
commit 36225abd0c
1 changed files with 2 additions and 2 deletions

View File

@ -32,9 +32,9 @@ class TestPop(unittest.TestCase):
lines = e.pop(1)
self.assertEqual(len(lines), 0)
class TestClear(unittest.TetsCase):
class TestClear(unittest.TestCase):
def test(self):
e = irctokens.StatefulEncoder()
e.push(irctokens.tokenise("PRIVMSG #channel hello")
e.push(irctokens.tokenise("PRIVMSG #channel hello"))
e.clear()
self.assertEqual(e.pending(), b"")