Skip to content

Commit

Permalink
Update unittest
Browse files Browse the repository at this point in the history
  • Loading branch information
koxudaxi committed Sep 4, 2021
1 parent 374d9ad commit 51a3dad
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion testData/typecheckerinspection/acceptableType.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,9 @@ def get_unknown_type_value():
raise Exception()

A(a=get_unknown_type_value())
A(<warning descr="Expected type 'str', got 'None' instead">a=None</warning>)
A(<warning descr="Expected type 'str', got 'None' instead">a=None</warning>)

class B:
pass

A(<warning descr="Expected type 'str', got 'B' instead">a=B()</warning>)

0 comments on commit 51a3dad

Please sign in to comment.