This is an automated email from the ASF dual-hosted git repository.
vavila pushed a commit to branch feat/to_datetime_jinja_filter
in repository https://gitbox.apache.org/repos/asf/superset.git
The following commit(s) were added to refs/heads/feat/to_datetime_jinja_filter
by this push:
new fca2d585a8 Improve docstrings
fca2d585a8 is described below
commit fca2d585a87948264ac4ca0c653da07eb6db20d0
Author: Vitor Avila <[email protected]>
AuthorDate: Mon Mar 24 16:27:04 2025 -0300
Improve docstrings
---
tests/unit_tests/jinja_context_test.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/unit_tests/jinja_context_test.py
b/tests/unit_tests/jinja_context_test.py
index 2123bed4ac..5cc6f218a8 100644
--- a/tests/unit_tests/jinja_context_test.py
+++ b/tests/unit_tests/jinja_context_test.py
@@ -444,7 +444,7 @@ def test_to_datetime(
value: str | None, format: str | None, output: datetime | None
) -> None:
"""
- Test the ``to_datetime`` Jinja2 filter.
+ Test the ``to_datetime`` custom filter.
"""
result = (
@@ -470,7 +470,7 @@ def test_to_datetime(
)
def test_to_datetime_raises(value: str, format: str | None, match: str) ->
None:
"""
- Test the ``to_datetime`` Jinja2 raises with an incorrect
+ Test the ``to_datetime`` custom filter raises with an incorrect
format.
"""
with pytest.raises(