From b51aac8a865984b65a84c0da3cb155cb3fbb6875 Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Thu, 4 Aug 2011 10:34:34 +1200 Subject: Code cleanliness - appease pychecker. --- test/test_netstring.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/test_netstring.py') diff --git a/test/test_netstring.py b/test/test_netstring.py index 3c56acd9..5c4f775a 100644 --- a/test/test_netstring.py +++ b/test/test_netstring.py @@ -9,10 +9,10 @@ class uNetstring(libpry.AutoTree): self.encoded_data = "9:Netstring,6:module,2:by,4:Will,7:McGugan," def test_header(self): - tests = [ ("netstring", "9:"), + t = [ ("netstring", "9:"), ("Will McGugan", "12:"), ("", "0:") ] - for test, result in tests: + for test, result in t: assert netstring.header(test) == result def test_file_encoder(self): -- cgit v1.2.3