Merge branch 'main' into feature/new-structure
This commit is contained in:
commit
96ef565044
3 changed files with 3 additions and 3 deletions
|
|
@ -526,7 +526,7 @@ class Const(Subconstruct[SubconParsedType, SubconBuildTypes, ParsedType, BuildTy
|
|||
def __new__(
|
||||
cls,
|
||||
value: bytes,
|
||||
) -> Const[None, None, bytes, Bytes[bytes, int]]: ...
|
||||
) -> Const[None, None, bytes, t.Optional[bytes]]: ...
|
||||
@t.overload
|
||||
def __new__(
|
||||
cls,
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
construct==2.10.67
|
||||
pytest>=6.2.0
|
||||
numpy==1.20.*
|
||||
numpy==1.21.*
|
||||
arrow
|
||||
ruamel.yaml
|
||||
cloudpickle
|
||||
|
|
|
|||
|
|
@ -634,7 +634,7 @@ def test_numpy() -> None:
|
|||
@pytest.mark.xfail(reason="docs stated that it throws StreamError, not true at all")
|
||||
def test_numpy_error() -> None:
|
||||
import numpy, io
|
||||
numpy.load(io.BytesIO(b""))
|
||||
numpy.load(io.BytesIO(b"")) # type: ignore
|
||||
|
||||
def test_namedtuple() -> None:
|
||||
import collections
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue