Home
last modified time | relevance | path

Searched refs:_browsers (Results 1 – 2 of 2) sorted by relevance

/third_party/python/Lib/test/
Dtest_webbrowser.py226 self._saved_browsers = webbrowser._browsers
227 webbrowser._browsers = {}
231 webbrowser._browsers = self._saved_browsers
241 self.assertEqual(webbrowser._browsers, expected_browsers)
247 self.assertEqual(webbrowser._browsers, expected_browsers)
261 self.assertEqual(webbrowser._browsers, expected_browsers)
277 self.assertFalse(webbrowser._browsers)
284 self.assertTrue(webbrowser._browsers)
285 self.assertIn('example1', webbrowser._browsers)
286 self.assertEqual(webbrowser._browsers['example1'], [ExampleBrowser, None])
[all …]
/third_party/python/Lib/
Dwebbrowser.py18 _browsers = {} # Dictionary of available browser controllers variable
27 _browsers[name.lower()] = [klass, instance]
58 command = _browsers[browser.lower()]
122 command = _browsers[name.lower()]