mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-08-14 21:34:09 +02:00
Fixes for Pyright, closes #833
This commit is contained in:
parent
38fe466700
commit
ebb04a97de
16 changed files with 109 additions and 85 deletions
|
|
@ -608,7 +608,7 @@ def test_foreign_key_is_immutable():
|
|||
|
||||
fk = ForeignKey("c", "pid", "p", "id")
|
||||
with pytest.raises(dataclasses.FrozenInstanceError):
|
||||
fk.table = "other"
|
||||
setattr(fk, "table", "other")
|
||||
|
||||
|
||||
def test_foreign_key_equality_and_hash_include_actions():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue