Remove usage of sets module (patch #1500609).

This commit is contained in:
Georg Brandl 2006-07-17 13:23:46 +00:00
parent 83fa22f564
commit 7b71bf3872
4 changed files with 6 additions and 9 deletions

View file

@ -1,7 +1,7 @@
import unittest
from test import test_support
import string, StringIO, mimetools, sets
import string, StringIO, mimetools
msgtext1 = mimetools.Message(StringIO.StringIO(
"""Content-Type: text/plain; charset=iso-8859-1; format=flowed
@ -25,7 +25,7 @@ class MimeToolsTest(unittest.TestCase):
self.assertEqual(o.getvalue(), start)
def test_boundary(self):
s = sets.Set([""])
s = set([""])
for i in xrange(100):
nb = mimetools.choose_boundary()
self.assert_(nb not in s)