Clean up end to end test

* don't use implementaiton for setting name
* str() of path object is not needed
This commit is contained in:
Patrick Lannigan 2023-11-13 08:50:17 -05:00
parent 5d2183daf0
commit 6ea1fe538b
No known key found for this signature in database
GPG Key ID: BBF5D9DED1E4AAF9
1 changed files with 3 additions and 3 deletions

View File

@ -1905,12 +1905,12 @@ def test_fine_grained_assertion_verbosity(pytester: Pytester):
""" """
) )
pytester.makeini( pytester.makeini(
f""" """
[pytest] [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( result.stdout.fnmatch_lines(
[ [