#4070 closed defect (fixed)

Fix type checking errors caused by new hypothesis

Reported by: itamarst Owned by: GitHub <noreply@…>
Priority: normal Milestone: undecided
Component: unknown Version: n/a
Keywords: Cc:
Launchpad Bug:

Description

src/allmydata/test/test_windows.py:115:42: error: Argument "blacklist_categories" to
"characters" has incompatible type "tuple[str]"; expected
"Collection[Literal['L', 'Lu', 'Ll', 'Lt', 'Lm', 'Lo', 'M', 'Mn', 'Mc', 'Me', 'N', 'Nd', 'Nl', 'No', 'P', 'Pc', 'Pd', 'Ps', 'Pe', 'Pi', 'Pf', 'Po', 'S', 'Sm', 'Sc', 'Sk', 'So', 'Z', 'Zs', 'Zl', 'Zp', 'C', 'Cc', 'Cf', 'Cs', 'Co', 'Cn']] | None"
 [arg-type]
                        blacklist_categories=('Cs',),

Change History (2)

comment:1 Changed at 2023-10-16T17:17:05Z by itamarst

The Windows tests only run on Python 2, so they can just be deleted.

comment:2 Changed at 2023-10-16T17:17:56Z by GitHub <noreply@…>

  • Owner set to GitHub <noreply@…>
  • Resolution set to fixed
  • Status changed from new to closed

In a08a622/trunk:

Merge pull request #1341 from tahoe-lafs/4070-hypothesis-type-checking-errors

Fix Hypothesis type checking errors

Fixes ticket:4070

Note: See TracTickets for help on using tickets.