Lines Matching refs:moves
94 mod = six.moves.html_parser
120 item = getattr(six.moves, item_name)
138 assert item_name in dir(six.moves)
150 assert item_name in dir(six.moves.urllib.parse)
151 getattr(six.moves.urllib.parse, item_name)
159 assert item_name in dir(six.moves.urllib.error)
160 getattr(six.moves.urllib.error, item_name)
168 assert item_name in dir(six.moves.urllib.request)
169 getattr(six.moves.urllib.request, item_name)
177 assert item_name in dir(six.moves.urllib.response)
178 getattr(six.moves.urllib.response, item_name)
186 assert item_name in dir(six.moves.urllib.robotparser)
187 getattr(six.moves.urllib.robotparser, item_name)
191 from six.moves.urllib.parse import urljoin
192 from six import moves
194 assert moves.urllib.parse.urljoin
198 from six import moves
199 assert moves.urllib.parse.urljoin
201 from six.moves.urllib.parse import urljoin
205 from six.moves.urllib.parse import urljoin
207 from six.moves.urllib_parse import urljoin
211 from six.moves.queue import Queue
213 from six.moves.configparser import ConfigParser
218 from six.moves import filter
224 from six.moves import filterfalse
231 from six.moves import map
236 from six.moves import getoutput
242 from six.moves import zip
248 from six.moves import zip_longest
263 del six.moves.__dict__["spam"]
301 assert not hasattr(six.moves, "spam")
304 from six.moves import spam
307 assert not hasattr(six.moves, "spam")
314 assert not hasattr(six.moves, "spam")
317 from six.moves import spam
320 assert not hasattr(six.moves, "spam")
655 out = sys.stdout = six.moves.StringIO()
934 assert getattr(six.moves.builtins, 'bytes', str)(my_test) == six.b("hello")