Kaydet (Commit) 3bce11cb authored tarafından Antoine Pitrou's avatar Antoine Pitrou

Make test_nntplib more robust

üst 719a449b
...@@ -227,7 +227,9 @@ class NetworkedNNTPTestsMixin: ...@@ -227,7 +227,9 @@ class NetworkedNNTPTestsMixin:
def test_zzquit(self): def test_zzquit(self):
# This test must be called last, hence the name # This test must be called last, hence the name
cls = type(self) cls = type(self)
try:
self.server.quit() self.server.quit()
finally:
cls.server = None cls.server = None
@classmethod @classmethod
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment