-
-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix test to pass pytest -Werror
#623
base: main
Are you sure you want to change the base?
Conversation
The first case is not the test you mark, but the previous test_upsert_pk_required. When you run the upsert "click" opens the file first but as it then gives the error sqlite-utils/sqlite_utils/cli.py Line 868 in 1d050dc
The solution is to pass |
It seems that in test_memory_csv only for when sqlite-utils/sqlite_utils/utils.py Lines 295 to 302 in 1d050dc
The only way I can think of is to pass the |
Similar to the first case, it is not It seems that when the enconding is wrong it raises a sqlite-utils/sqlite_utils/cli.py Lines 1949 to 1968 in 1d050dc
The only thing that I can think of is to catch the error, close the file and raise it again. |
test_insert_files.py is a deprecation warning. |
Refs #541
Still TODO:
📚 Documentation preview 📚: https://sqlite-utils--623.org.readthedocs.build/en/623/