Skip to content

Commit 09cedfc

Browse files
committed
get around python/mypy#7281
1 parent a9a7d4d commit 09cedfc

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/cachew/__init__.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -821,13 +821,14 @@ def test_binder():
821821
]
822822

823823

824+
class Breaky(NamedTuple):
825+
job_title: int
826+
job: Optional[Job]
827+
828+
824829
def test_unique(tmp_path):
825830
tdir = Path(tmp_path)
826831

827-
class Breaky(NamedTuple):
828-
job_title: int
829-
job: Optional[Job]
830-
831832
assert [c.name for c in DbBinder(Breaky).db_columns] == [
832833
'job_title',
833834
'_job_is_null',

0 commit comments

Comments
 (0)