OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:tryexcept
(Results
1 - 4
of
4
) sorted by null
/external/chromium-trace/catapult/telemetry/third_party/modulegraph/modulegraph_tests/
test_edge_data.py
36
self.assertEqual(ed, modulegraph.DependencyInfo(conditional=False, function=False,
tryexcept
=False, fromlist=False))
42
self.assertEqual(ed, modulegraph.DependencyInfo(conditional=False, function=False,
tryexcept
=False, fromlist=False))
48
self.assertEqual(ed, modulegraph.DependencyInfo(conditional=False, function=False,
tryexcept
=False, fromlist=False))
54
self.assertEqual(ed, modulegraph.DependencyInfo(conditional=False, function=False,
tryexcept
=False, fromlist=False))
60
self.assertEqual(ed, modulegraph.DependencyInfo(conditional=True, function=False,
tryexcept
=False, fromlist=False))
66
self.assertEqual(ed, modulegraph.DependencyInfo(conditional=True, function=False,
tryexcept
=False, fromlist=False))
72
self.assertEqual(ed, modulegraph.DependencyInfo(conditional=True, function=False,
tryexcept
=True, fromlist=False))
78
self.assertEqual(ed, modulegraph.DependencyInfo(conditional=True, function=False,
tryexcept
=True, fromlist=False))
84
self.assertEqual(ed, modulegraph.DependencyInfo(conditional=True, function=False,
tryexcept
=True, fromlist=False))
90
self.assertEqual(ed, modulegraph.DependencyInfo(conditional=True, function=False,
tryexcept
=True, fromlist=False)
[
all
...]
test_imports.py
123
fromlist=False, conditional=False, function=False,
tryexcept
=False))
160
fromlist=False, conditional=False, function=False,
tryexcept
=False))
175
fromlist=False, conditional=False, function=False,
tryexcept
=False))
187
fromlist=True, conditional=False, function=False,
tryexcept
=False))
192
fromlist=False, conditional=False, function=False,
tryexcept
=False))
197
#fromlist=True, conditional=False, function=False,
tryexcept
=False))
208
fromlist=False, conditional=False, function=False,
tryexcept
=False))
213
fromlist=False, conditional=False, function=False,
tryexcept
=False))
218
#fromlist=True, conditional=False, function=False,
tryexcept
=False))
229
fromlist=False, conditional=False, function=False,
tryexcept
=False)
[
all
...]
test_modulegraph.py
45
info = modulegraph.DependencyInfo(function=True, conditional=False,
tryexcept
=True, fromlist=False)
54
info1 = modulegraph.DependencyInfo(function=True, conditional=False,
tryexcept
=True, fromlist=False)
55
info2 = modulegraph.DependencyInfo(function=False, conditional=True,
tryexcept
=True, fromlist=False)
57
info1._merged(info2), modulegraph.DependencyInfo(function=True, conditional=True,
tryexcept
=True, fromlist=False))
59
info2 = modulegraph.DependencyInfo(function=False, conditional=True,
tryexcept
=False, fromlist=False)
61
info1._merged(info2), modulegraph.DependencyInfo(function=True, conditional=True,
tryexcept
=True, fromlist=False))
63
info2 = modulegraph.DependencyInfo(function=False, conditional=False,
tryexcept
=False, fromlist=False)
65
info1._merged(info2), modulegraph.DependencyInfo(function=False, conditional=False,
tryexcept
=False, fromlist=False))
67
info1 = modulegraph.DependencyInfo(function=True, conditional=False,
tryexcept
=True, fromlist=True)
69
info1._merged(info2), modulegraph.DependencyInfo(function=False, conditional=False,
tryexcept
=False, fromlist=False)
[
all
...]
/external/chromium-trace/catapult/telemetry/third_party/modulegraph/modulegraph/
modulegraph.py
332
class DependencyInfo (namedtuple("DependencyInfo", ["conditional", "function", "
tryexcept
", "fromlist"])):
336
if (not self.conditional and not self.function and not self.
tryexcept
) \
337
or (not other.conditional and not other.function and not other.
tryexcept
):
338
return DependencyInfo(conditional=False, function=False,
tryexcept
=False, fromlist=self.fromlist and other.fromlist)
344
tryexcept
=self.
tryexcept
or other.
tryexcept
,
598
tryexcept
=self.in_tryexcept,
[
all
...]
Completed in 5148 milliseconds