Skip to content

Commit

Permalink
test: replacing tmpdir with tmp_path in tests_pytorch/serve (#1…
Browse files Browse the repository at this point in the history
  • Loading branch information
fnhirwa committed Mar 17, 2024
1 parent 754734a commit e57a7bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/tests_pytorch/serve/test_servable_module_validator.py
Expand Up @@ -37,10 +37,10 @@ def test_servable_module_validator():


@pytest.mark.flaky(reruns=3)
def test_servable_module_validator_with_trainer(tmpdir):
def test_servable_module_validator_with_trainer(tmp_path):
callback = ServableModuleValidator()
trainer = Trainer(
default_root_dir=tmpdir,
default_root_dir=tmp_path,
max_epochs=1,
limit_train_batches=2,
limit_val_batches=0,
Expand Down

0 comments on commit e57a7bf

Please sign in to comment.