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
In the immediate term stick to the assertion to avoid the infinite loop. When there's time the correct answer is importlib.resources.files which is explicitly intended to allow access to files from within a package across platforms. This API is available starting from Python 3.9, but exists as a backport using the PyPI package importlib-resources.
If the path to the BallotMaker package doesn't include the word "ballotmaker" the program will run an infinite loop. Add a test to break this loop.
From @ion-oset
Or use:
python/importlib_resources
The text was updated successfully, but these errors were encountered: