Skip to content

Commit 7433dc2

Browse files
build(deps): bump pytest from 8.3.5 to 8.4.0 in /requirements (#20887)
* build(deps): bump pytest from 8.3.5 to 8.4.0 in /requirements Bumps [pytest](https://github.com/pytest-dev/pytest) from 8.3.5 to 8.4.0. - [Release notes](https://github.com/pytest-dev/pytest/releases) - [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst) - [Commits](pytest-dev/pytest@8.3.5...8.4.0) --- updated-dependencies: - dependency-name: pytest dependency-version: 8.4.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * assert raw_checkpoint_path --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jirka B <[email protected]>
1 parent 3b2a73f commit 7433dc2

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

requirements/doctests.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
pytest ==8.3.5
1+
pytest ==8.4.0
22
pytest-doctestplus ==1.4.0

requirements/fabric/test.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
coverage ==7.8.2
22
numpy >=1.17.2, <1.27.0
3-
pytest ==8.3.5
3+
pytest ==8.4.0
44
pytest-cov ==6.1.1
55
pytest-timeout ==2.4.0
66
pytest-rerunfailures ==15.1

requirements/pytorch/test.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
coverage ==7.8.2
2-
pytest ==8.3.5
2+
pytest ==8.4.0
33
pytest-cov ==6.1.1
44
pytest-timeout ==2.4.0
55
pytest-rerunfailures ==15.1

tests/tests_pytorch/models/test_hparams.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -250,8 +250,7 @@ def __init__(self, test_arg, test_arg2):
250250
model = LocalModel.load_from_checkpoint(raw_checkpoint_path, test_arg2=123)
251251
assert model.hparams.test_arg == 14
252252
assert "test_arg2" not in model.hparams # test_arg2 is not registered in class init
253-
254-
return raw_checkpoint_path
253+
assert raw_checkpoint_path
255254

256255

257256
# -------------------------

0 commit comments

Comments
 (0)