From 6ea1fe538b699e0a41d2e322e017b4d1f0e6ada4 Mon Sep 17 00:00:00 2001
From: Patrick Lannigan
Date: Mon, 13 Nov 2023 08:50:17 -0500
Subject: [PATCH] Clean up end to end test
* don't use implementaiton for setting name
* str() of path object is not needed
---
testing/test_assertion.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/testing/test_assertion.py b/testing/test_assertion.py
index 22ac5b866..7c8c01556 100644
--- a/testing/test_assertion.py
+++ b/testing/test_assertion.py
@@ -1905,12 +1905,12 @@ def test_fine_grained_assertion_verbosity(pytester: Pytester):
"""
)
pytester.makeini(
- f"""
+ """
[pytest]
- {_Config._verbosity_ini_name(_Config.VERBOSITY_ASSERTIONS)} = 2
+ verbosity_assertions = 2
"""
)
- result = pytester.runpytest(str(p))
+ result = pytester.runpytest(p)
result.stdout.fnmatch_lines(
[