You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When prototype.call is used on a function expecting an int and you give it an instance of basecenum it will give you a ValueError in python3.11, due to stricter type enforcements.
To Reproduce
Run resdata tests onprem, or run this script:
from cwrap import BaseCEnum
from resdata.resfile import ResdataFile
from resdata import FileMode
f1 = ResdataFile("some_file.some", index_filename="index")
will faile with TypeError on python3.11 while it fails on file not found for python3.8.
The text was updated successfully, but these errors were encountered:
Describe the bug
When prototype.call is used on a function expecting an int and you give it an instance of basecenum it will give you a ValueError in python3.11, due to stricter type enforcements.
To Reproduce
Run resdata tests onprem, or run this script:
will faile with TypeError on python3.11 while it fails on file not found for python3.8.
The text was updated successfully, but these errors were encountered: