From cbb46680a3fce25d42517b03dcc7e971b682ab0e Mon Sep 17 00:00:00 2001 From: Michael Bianco Date: Thu, 12 Oct 2023 06:02:39 -0600 Subject: [PATCH] fix: assert location --- tests/packages/test_locker.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/packages/test_locker.py b/tests/packages/test_locker.py index e115c32c799..d6e59b0d20a 100644 --- a/tests/packages/test_locker.py +++ b/tests/packages/test_locker.py @@ -647,11 +647,11 @@ def test_reading_lock_file_should_raise_an_error_on_missing_metadata( with pytest.raises(RuntimeError) as e: _ = locker.lock_data - assert ( - "The lock file does not have a metadata entry.\nRegenerate the lock file with" - " the `poetry lock` command." - in str(e.value) - ) + assert ( + "The lock file does not have a metadata entry.\nRegenerate the lock file with" + " the `poetry lock` command." + in str(e.value) + ) def test_locking_legacy_repository_package_should_include_source_section(