@@ -59,7 +59,7 @@ def safeDelete(name):
5959subsection ("Checking output." )
6060try :
6161 output = open (outName , encoding = "utf8" )
62-
62+
6363 # 1. Check number of lines.
6464 assert countLines (output ) == 227 , "Incorrect number of lines."
6565
@@ -70,7 +70,7 @@ def safeDelete(name):
7070 assert afghanistan [0 ] == "Afghanistan" , "Incorrect content (1)."
7171 assert afghanistan [1 ] == "أفغانستان" , "Incorrect content (2)."
7272 assert afghanistan [2 ] == "Afghanestan" , "Incorrect content (3)."
73-
73+
7474 zimbabwe = lines [226 ].split ("\t " )
7575 assert zimbabwe [0 ] == "Zimbabwe" , "Incorrect content (4)."
7676 assert zimbabwe [1 ] == "زمبابوي" , "Incorrect content (5)."
@@ -95,12 +95,12 @@ def safeDelete(name):
9595try :
9696 f = open (outName , "rb" )
9797 countryData = pickle .load (f )
98-
98+
9999 afghanistan = countryData [0 ]
100100 assert afghanistan [0 ] == "Afghanistan" , "Incorrect content (1)."
101101 assert afghanistan [1 ] == "أفغانستان" , "Incorrect content (2)."
102102 assert afghanistan [2 ] == "Afghanestan" , "Incorrect content (3)."
103-
103+
104104 zimbabwe = countryData [226 ]
105105 assert zimbabwe [0 ] == "Zimbabwe" , "Incorrect content (4)."
106106 assert zimbabwe [1 ] == "زمبابوي" , "Incorrect content (5)."
@@ -125,7 +125,7 @@ def safeDelete(name):
125125subsection ("Checking output." )
126126try :
127127 output = open (outName , encoding = "utf8" )
128-
128+
129129 # 1. Check number of lines.
130130 assert countLines (output ) == 205 , "Incorrect number of lines."
131131
@@ -161,7 +161,7 @@ def safeDelete(name):
161161subsection ("Checking output." )
162162try :
163163 output = open (outName , encoding = "utf8" )
164-
164+
165165 # 1. Check number of lines.
166166 assert countLines (output ) == 247 , "Incorrect number of lines."
167167
@@ -195,7 +195,7 @@ def safeDelete(name):
195195subsection ("Checking output." )
196196try :
197197 output = open (outName , encoding = "utf8" )
198-
198+
199199 # 1. Check number of lines.
200200 assert countLines (output ) == 237 , "Incorrect number of lines."
201201
@@ -229,7 +229,7 @@ def safeDelete(name):
229229subsection ("Checking output." )
230230try :
231231 output = open (outName , encoding = "utf8" )
232-
232+
233233 # 1. Check number of lines.
234234 assert countLines (output ) == 250 , "Incorrect number of lines."
235235
@@ -261,7 +261,7 @@ def safeDelete(name):
261261subsection ("Checking output." )
262262try :
263263 output = open (outName , encoding = "utf8" )
264-
264+
265265 # 1. Check number of lines.
266266 assert countLines (output ) == 250 , "Incorrect number of lines."
267267
@@ -294,7 +294,7 @@ def safeDelete(name):
294294subsection ("Checking output." )
295295try :
296296 output = open (outName , encoding = "utf8" )
297-
297+
298298 # 1. Check number of lines.
299299 assert countLines (output ) == 227 , "Incorrect number of lines."
300300
@@ -327,7 +327,7 @@ def safeDelete(name):
327327subsection ("Checking output." )
328328try :
329329 output = open (outName , encoding = "utf8" )
330-
330+
331331 # 1. Check number of lines.
332332 assert countLines (output ) == 237 , "Incorrect number of lines."
333333
0 commit comments