/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/plat-mac/Carbon/ |
__init__.py | 1 # Filter out warnings about signed/unsigned constants 2 import warnings namespace 3 warnings.filterwarnings("ignore", "", FutureWarning, ".*Controls") 4 warnings.filterwarnings("ignore", "", FutureWarning, ".*MacTextEditor") 6 from warnings import warnpy3k
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
md5.py | 6 import warnings namespace 7 warnings.warn("the md5 module is deprecated; use hashlib instead",
|
sha.py | 6 import warnings namespace 7 warnings.warn("the sha module is deprecated; use the hashlib module instead",
|
sre.py | 5 import warnings namespace 6 warnings.warn("The sre module is deprecated, please import re.",
|
dbhash.py | 4 import warnings namespace 5 warnings.warnpy3k("in 3.x, the dbhash module has been removed", stacklevel=2)
|
statvfs.py | 2 from warnings import warnpy3k
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
md5.py | 6 import warnings namespace 7 warnings.warn("the md5 module is deprecated; use hashlib instead",
|
sha.py | 6 import warnings namespace 7 warnings.warn("the sha module is deprecated; use the hashlib module instead",
|
sre.py | 5 import warnings namespace 6 warnings.warn("The sre module is deprecated, please import re.",
|
dbhash.py | 4 import warnings namespace 5 warnings.warnpy3k("in 3.x, the dbhash module has been removed", stacklevel=2)
|
statvfs.py | 2 from warnings import warnpy3k
|
/external/chromium_org/chrome/browser/extensions/ |
extension_warning_badge_service_unittest.cc | 27 ExtensionWarningSet warnings; local 28 warnings.insert(warning); 29 AddWarnings(warnings); 43 return warning_service_->warnings(); 66 TestExtensionWarningSet warnings(&profile); 67 TestExtensionWarningBadgeService badge_service(&profile, &warnings); 68 warnings.AddObserver(&badge_service); 71 warnings.AddWarning(ExtensionWarning::CreateNetworkDelayWarning(ext1_id)); 80 warnings.GetWarningTypesAffectingExtension(ext1_id); 81 warnings.ClearWarnings(to_clear) [all...] |
/external/antlr/antlr-3.4/runtime/Perl5/t/ |
classes.t | 4 use warnings;
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
warning_tests.py | 1 # Helper module for testing the skipmodules argument of warnings.warn() 3 import warnings namespace 9 warnings.warn(message, stacklevel=stacklevel)
|
test_global.py | 1 """Verify that warnings are issued for global statements following use.""" 5 import warnings namespace 47 with warnings.catch_warnings(): 48 warnings.filterwarnings("error", module="<test string>")
|
testall.py | 2 from warnings import warnpy3k
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
warning_tests.py | 1 # Helper module for testing the skipmodules argument of warnings.warn() 3 import warnings namespace 9 warnings.warn(message, stacklevel=stacklevel)
|
test_global.py | 1 """Verify that warnings are issued for global statements following use.""" 5 import warnings namespace 47 with warnings.catch_warnings(): 48 warnings.filterwarnings("error", module="<test string>")
|
/external/chromium_org/chrome/common/extensions/docs/server2/ |
document_renderer_test.py | 26 text, warnings = self._renderer.Render(document) 28 self.assertEqual([], warnings) 30 text, warnings = self._renderer.Render(document, render_title=True) 32 self.assertEqual(['Expected a title'], warnings) 37 text, warnings = self._renderer.Render(document) 39 self.assertEqual(['Found unexpected title "title"'], warnings) 41 text, warnings = self._renderer.Render(document, render_title=True) 43 self.assertEqual([], warnings) 50 text, warnings = self._renderer.Render(document) 52 self.assertEqual([], warnings) [all...] |
/external/mockito/src/org/mockito/internal/util/junit/ |
JUnitFailureHacker.java | 13 public void appendWarnings(Failure failure, String warnings) {
14 if (isEmpty(warnings)) {
20 String newMessage = "contains both: actual test failure *and* Mockito warnings.\n" +
21 warnings + "\n *** The actual failure is because of: ***\n";
28 private boolean isEmpty(String warnings) {
29 return warnings == null || "".equals(warnings); // isEmpty() is in JDK 6+
|
/external/antlr/antlr-3.4/runtime/Perl5/lib/ANTLR/Runtime/ |
EarlyExitException.pm | 4 use warnings;
|
/external/chromium_org/ |
PRESUBMIT_test.py | 83 warnings = PRESUBMIT._CheckIncludeOrderForScope(scope, mock_input_api, 85 self.assertEqual(0, len(warnings)) 93 warnings = PRESUBMIT._CheckIncludeOrderForScope(scope, mock_input_api, 95 self.assertEqual(1, len(warnings)) 96 self.assertTrue('20' in warnings[0]) 104 warnings = PRESUBMIT._CheckIncludeOrderForScope(scope, mock_input_api, 106 self.assertEqual(1, len(warnings)) 107 self.assertTrue('30' in warnings[0]) 115 warnings = PRESUBMIT._CheckIncludeOrderForScope(scope, mock_input_api, 117 self.assertEqual(2, len(warnings)) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/compiler/ |
__init__.py | 24 import warnings namespace 26 warnings.warn("The compiler package is deprecated and removed in Python 3.x.",
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/compiler/ |
__init__.py | 24 import warnings namespace 26 warnings.warn("The compiler package is deprecated and removed in Python 3.x.",
|
/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/ |
ErrorQueue.java | 40 List warnings = new LinkedList(); field in class:ErrorQueue 51 warnings.add(msg); 59 return infos.size() + errors.size() + warnings.size(); 65 "warnings: "+warnings;
|