Skip to content

Commit fc6f096

Browse files
committed
Make tests work with latest wtforms.
They are deprecating how select choices are set - we can't upgrade until 3.3 actually comes out - so for now just add an ignore deprecation line in pytest.ini.
1 parent 24d5e34 commit fc6f096

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pytest.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ markers =
2323

2424
filterwarnings =
2525
error
26+
ignore:.*Passing SelectField choices as tuples.*:DeprecationWarning:wtforms:0
2627
ignore::DeprecationWarning:mongoengine:
2728
ignore::DeprecationWarning:flask_login:0
2829
# next for py 3.12
2930
ignore::DeprecationWarning:dateutil:0
3031
ignore:.*passwordless feature.*:DeprecationWarning:flask_security:0
31-
ignore:.*'crypt' is deprecated.*:DeprecationWarning:passlib:0
3232
ignore::DeprecationWarning:pony:0
3333
ignore:.*'sms' was enabled in SECURITY_US_ENABLED_METHODS;.*:UserWarning:flask_security:0
3434
ignore:.*'get_token_status' is deprecated.*:DeprecationWarning:flask_security:0

0 commit comments

Comments
 (0)