Skip to content

Commit e2c971c

Browse files
committed
Fix tests even more
1 parent 78aa862 commit e2c971c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/typecheck/models/test_create.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@
8686
8787
Book.objects.create(id=None) # E: Incompatible type for "id" of "Book" (got "None", expected "float | int | str | Combinable") [misc]
8888
Book.objects.create(publisher=None) # E: Incompatible type for "publisher" of "Book" (got "None", expected "Publisher | Combinable") [misc]
89-
Book.objects.create(publisher_id=None) # E: Incompatible type for "publisher_id" of "Book" (got "None", expected "float | int | str | Combinable") [misc]
89+
Book.objects.create(publisher_id=None) # E: Incompatible type for "publisher_id" of "Book" (got "None", expected "Combinable | int | str") [misc]
9090
installed_apps:
9191
- myapp
9292
files:

0 commit comments

Comments
 (0)