fixed type error
This commit is contained in:
parent
753b2deaf3
commit
3d74c99718
1 changed files with 1 additions and 1 deletions
|
|
@ -131,7 +131,7 @@ def test_formatfield_floats_randomized() -> None:
|
|||
# and analog although that was misplaced
|
||||
# http://stackoverflow.com/questions/39676482/struct-packstruct-unpackfloat-is-inconsistent-on-py3
|
||||
for endianess,dtype in itertools.product("<>=","fd"):
|
||||
d = FormatField(endianess, dtype)
|
||||
d: FormatField[float, float] = FormatField(endianess, dtype)
|
||||
for _ in range(100):
|
||||
x = random.random()*12345
|
||||
if dtype == "d":
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue