/external/python/cpython2/Lib/test/ |
test_linecache.py | 132 with support.swap_attr(linecache, 'updatecache', raise_memoryerror): 137 with support.swap_attr(linecache, 'updatecache', raise_memoryerror):
|
test_tools.py | 435 with test_support.swap_attr(sys, "argv", argv), \ 436 test_support.swap_attr(sys, "stdin", StringIO(input)), \
|
test_tempfile.py | 222 with support.swap_attr(tempfile, "_candidate_tempdir_list", 231 with support.swap_attr(io, "open", raise_OSError): 244 with support.swap_attr(io, "open", bad_writer): 278 with support.swap_attr(tempfile, 'tempdir', dir): 285 return support.swap_attr(tempfile, 310 with support.swap_attr(tempfile, 'tempdir', tempdir): 319 with support.swap_attr(tempfile, 'tempdir', tempdir): [all...] |
test_strptime.py | 319 with support.swap_attr(time, 'tzname', (tz_name, tz_name)), \ 320 support.swap_attr(time, 'daylight', 1), \ 321 support.swap_attr(time, 'tzset', lambda: None):
|
test_uuid.py | 423 with test_support.swap_attr(os, 'popen', mock_popen):
|
test_httpservers.py | 648 with test_support.swap_attr(SimpleHTTPServer.os, 'path', ntpath):
|
test_support.py | 1639 def swap_attr(obj, attr, new_val): function [all...] |
/external/python/cpython2/Lib/lib-tk/test/test_ttk/ |
test_extensions.py | 5 from test.test_support import requires, run_unittest, swap_attr 52 with swap_attr(tkinter, '_default_root', None), \ 53 swap_attr(tkinter, '_support_default_root', True):
|
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_tempfile.py | 221 with support.swap_attr(tempfile, "_candidate_tempdir_list", 230 with support.swap_attr(io, "open", raise_OSError): 243 with support.swap_attr(io, "open", bad_writer):
|
test_support.py | 1312 def swap_attr(obj, attr, new_val): function [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_tempfile.py | 221 with support.swap_attr(tempfile, "_candidate_tempdir_list", 230 with support.swap_attr(io, "open", raise_OSError): 243 with support.swap_attr(io, "open", bad_writer):
|
test_support.py | 1312 def swap_attr(obj, attr, new_val): function [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_tempfile.py | 221 with support.swap_attr(tempfile, "_candidate_tempdir_list", 230 with support.swap_attr(io, "open", raise_OSError): 243 with support.swap_attr(io, "open", bad_writer):
|
test_support.py | 1312 def swap_attr(obj, attr, new_val): function [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_tempfile.py | 221 with support.swap_attr(tempfile, "_candidate_tempdir_list", 230 with support.swap_attr(io, "open", raise_OSError): 243 with support.swap_attr(io, "open", bad_writer):
|
test_support.py | 1312 def swap_attr(obj, attr, new_val): function [all...] |