Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / tools / telemetry / third_party / modulegraph / modulegraph_tests / testpkg-edgedata / script.py
blob901c332af9d4073a9c371e32e7d0095f4c5dfd18
2 import toplevel_existing
3 import toplevel_nonexisting
5 class MyClass:
6 import toplevel_class_existing
7 import toplevel_class_nonexisting
9 if a == b:
10 import toplevel_conditional_existing
11 import toplevel_conditional_nonexisting
13 try:
14 import toplevel_conditional_import_existing
15 import toplevel_conditional_import_nonexisting
16 except:
17 import toplevel_conditional_import2_existing
18 import toplevel_conditional_import2_nonexisting
20 try:
21 import toplevel_import_existing
22 import toplevel_import_nonexisting
23 except:
24 import toplevel_import2_existing
25 import toplevel_import2_nonexisting
27 def function():
28 import function_existing
29 import function_nonexisting
31 class MyClass:
32 import function_class_existing
33 import function_class_nonexisting
35 if a == b:
36 import function_conditional_existing
37 import function_conditional_nonexisting
39 try:
40 import function_conditional_import_existing
41 import function_conditional_import_nonexisting
42 except:
43 import function_conditional_import2_existing
44 import function_conditional_import2_nonexisting
46 try:
47 import function_import_existing
48 import function_import_nonexisting
49 except:
50 import function_import2_existing
51 import function_import2_nonexisting