Searched refs:warns (Results 1 - 6 of 6) sorted by relevance
/third_party/python/Lib/test/support/ |
H A D | warnings_helper.py | 20 with warnings.catch_warnings(record=True) as warns: 23 testcase.assertEqual(len(warns), 1, warns) 25 warn, = warns 38 with warnings.catch_warnings(record=True) as warns: 43 testcase.assertEqual(warns, []) 124 with warnings.catch_warnings(record=True) as warns: 131 testcase.assertEqual(warns, [])
|
/third_party/ltp/testcases/kernel/device-drivers/misc_modules/per_cpu_allocator_module/ |
H A D | test_per_cpu_allocator_module.c | 112 unsigned int warns = 5; in verify_area() local 121 if (*up != v && warns-- > 0) { in verify_area()
|
/third_party/python/Lib/distutils/tests/ |
H A D | test_dist.py | 176 warns = [] 179 warns.append(msg) 187 self.assertEqual(len(warns), 0)
|
/third_party/vk-gl-cts/external/vulkan-docs/src/config/ |
H A D | rouge-extend-css.rb | 36 /* Other things ANDI warns about - unsure of their purposes */
|
/third_party/python/Lib/test/test_asyncio/ |
H A D | test_subprocess.py | 599 with warnings.catch_warnings(record=True) as warns: 607 self.assertEqual(warns, [])
|
/third_party/python/Lib/lib2to3/tests/ |
H A D | test_fixers.py | 41 def warns(self, before, after, message, unchanged=False): member in FixerTestCase 48 self.warns(before, before, message, unchanged=True) 2625 self.warns(b, a, "Calls to builtin next() possibly shadowed") 3106 self.warns(b, a, "You should use a for loop here") 4594 self.warns(b, a, msg)
|
Completed in 8 milliseconds