From a817db5bd6b55cfb86de24cf7bc8aa8bb400653d Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Tue, 2 Aug 2011 20:47:53 +1200 Subject: Refresh current connection when toggling autodecode. Also fix the unit tests I forgot to commit... --- test/test_encoding.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'test/test_encoding.py') diff --git a/test/test_encoding.py b/test/test_encoding.py index dff146ee..d9e6a85c 100644 --- a/test/test_encoding.py +++ b/test/test_encoding.py @@ -10,8 +10,7 @@ class uidentity(libpry.AutoTree): assert "string" == encoding.encode("identity", "string") def test_fallthrough(self): - assert "string" == encoding.decode("nonexistent encoding", "string") - assert "string" == encoding.encode("nonexistent encoding", "string") + assert None == encoding.decode("nonexistent encoding", "string") class ugzip(libpry.AutoTree): def test_simple(self): -- cgit v1.2.3