Skip to content

Commit f34e683

Browse files
dependabot[bot]frostming
authored andcommitted
chore(deps): bump jinja2 from 3.1.4 to 3.1.5 in /docs (#388)
Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.4 to 3.1.5. - [Release notes](https://github.com/pallets/jinja/releases) - [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst) - [Commits](pallets/jinja@3.1.4...3.1.5) --- updated-dependencies: - dependency-name: jinja2 dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 121e7b4 commit f34e683

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

docs/requirements.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ charset-normalizer==3.3.2
1313
docutils==0.21.2
1414
# via sphinx
1515
furo==2024.7.18
16-
# via -r docs/requirements.in
16+
# via -r requirements.in
1717
idna==3.7
1818
# via requests
1919
imagesize==1.4.1
2020
# via sphinx
21-
jinja2==3.1.4
21+
jinja2==3.1.5
2222
# via sphinx
2323
markupsafe==2.1.5
2424
# via jinja2
@@ -36,7 +36,7 @@ soupsieve==2.5
3636
# via beautifulsoup4
3737
sphinx==7.4.7
3838
# via
39-
# -r docs/requirements.in
39+
# -r requirements.in
4040
# furo
4141
# sphinx-basic-ng
4242
sphinx-basic-ng==1.0.0b2

tests/test_toml_tests.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,6 @@ def test_invalid_decode(invalid_decode_case):
5757

5858

5959
def test_invalid_encode(invalid_encode_case):
60-
with (
61-
pytest.raises((TOMLKitError, UnicodeDecodeError)),
62-
open(invalid_encode_case, encoding="utf-8") as f,
63-
):
64-
load(f)
60+
with open(invalid_encode_case, encoding="utf-8") as f:
61+
with pytest.raises(TOMLKitError, UnicodeDecodeError):
62+
load(f)

0 commit comments

Comments
 (0)