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(