Skip to content

Commit 3e2e0c2

Browse files
Tianhan Lumeta-codesync[bot]
authored andcommitted
Migrate more call graph unit tests
Summary: We already handle these correctly. Progress update: We have migrated 53 / 132 tests (40.15%). Reviewed By: arthaud Differential Revision: D85772587 fbshipit-source-id: be526db8438eb60cc02f8b181f30f7148ea3ef1f
1 parent 59aaf6b commit 3e2e0c2

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

source/interprocedural/test/callGraphTest.ml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2998,7 +2998,7 @@ let test_call_graph_of_define =
29982998
(* Well-typed decorators are 'safely' ignored (when not inlined). *)
29992999
labeled_test_case __FUNCTION__ __LINE__
30003000
@@ assert_call_graph_of_define
3001-
~_migrated_to_pyrefly:false
3001+
~_migrated_to_pyrefly:true
30023002
~source:
30033003
{|
30043004
from typing import Callable, TypeVar
@@ -3038,7 +3038,7 @@ let test_call_graph_of_define =
30383038
();
30393039
labeled_test_case __FUNCTION__ __LINE__
30403040
@@ assert_call_graph_of_define
3041-
~_migrated_to_pyrefly:false
3041+
~_migrated_to_pyrefly:true
30423042
~source:
30433043
{|
30443044
from typing import Callable, TypeVar
@@ -3083,7 +3083,7 @@ let test_call_graph_of_define =
30833083
(* Partially-typed decorators are 'safely' ignored (when not inlined). *)
30843084
labeled_test_case __FUNCTION__ __LINE__
30853085
@@ assert_call_graph_of_define
3086-
~_migrated_to_pyrefly:false
3086+
~_migrated_to_pyrefly:true
30873087
~source:
30883088
{|
30893089
from typing import Callable, TypeVar
@@ -3120,7 +3120,7 @@ let test_call_graph_of_define =
31203120
();
31213121
labeled_test_case __FUNCTION__ __LINE__
31223122
@@ assert_call_graph_of_define
3123-
~_migrated_to_pyrefly:false
3123+
~_migrated_to_pyrefly:true
31243124
~source:
31253125
{|
31263126
from typing import Callable, TypeVar
@@ -3161,7 +3161,7 @@ let test_call_graph_of_define =
31613161
(* Untyped decorators are 'safely' ignored (when not inlined). *)
31623162
labeled_test_case __FUNCTION__ __LINE__
31633163
@@ assert_call_graph_of_define
3164-
~_migrated_to_pyrefly:false
3164+
~_migrated_to_pyrefly:true
31653165
~source:
31663166
{|
31673167
def timer(name: str):
@@ -3190,7 +3190,7 @@ let test_call_graph_of_define =
31903190
();
31913191
labeled_test_case __FUNCTION__ __LINE__
31923192
@@ assert_call_graph_of_define
3193-
~_migrated_to_pyrefly:false
3193+
~_migrated_to_pyrefly:true
31943194
~source:
31953195
{|
31963196
def timer(name: str):
@@ -3223,7 +3223,7 @@ let test_call_graph_of_define =
32233223
(* Well-typed decorators with @classmethod or @staticmethod. *)
32243224
labeled_test_case __FUNCTION__ __LINE__
32253225
@@ assert_call_graph_of_define
3226-
~_migrated_to_pyrefly:false
3226+
~_migrated_to_pyrefly:true
32273227
~source:
32283228
{|
32293229
from typing import Callable, TypeVar
@@ -3269,7 +3269,7 @@ let test_call_graph_of_define =
32693269
();
32703270
labeled_test_case __FUNCTION__ __LINE__
32713271
@@ assert_call_graph_of_define
3272-
~_migrated_to_pyrefly:false
3272+
~_migrated_to_pyrefly:true
32733273
~source:
32743274
{|
32753275
from typing import Callable, TypeVar
@@ -3313,7 +3313,7 @@ let test_call_graph_of_define =
33133313
();
33143314
labeled_test_case __FUNCTION__ __LINE__
33153315
@@ assert_call_graph_of_define
3316-
~_migrated_to_pyrefly:false
3316+
~_migrated_to_pyrefly:true
33173317
~source:
33183318
{|
33193319
from typing import Callable, TypeVar
@@ -3361,7 +3361,7 @@ let test_call_graph_of_define =
33613361
(* Decorators with type errors. *)
33623362
labeled_test_case __FUNCTION__ __LINE__
33633363
@@ assert_call_graph_of_define
3364-
~_migrated_to_pyrefly:false
3364+
~_migrated_to_pyrefly:true
33653365
~source:
33663366
{|
33673367
from typing import Callable, TypeVar

0 commit comments

Comments
 (0)