Skip to content

Commit

Permalink
Update src/zope/testrunner/formatter.py
Browse files Browse the repository at this point in the history
Co-authored-by: Michael Howitz <icemac@gmx.net>
  • Loading branch information
gforcada and icemac authored Dec 20, 2023
1 parent e0b98a9 commit ef4765b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/zope/testrunner/formatter.py
Original file line number Diff line number Diff line change
Expand Up @@ -1379,7 +1379,7 @@ def __init__(self, test, time, testClassName, testName, failure=None,

def get_test_class_name(test):
"""Compute the test class name from the test object."""
return '{0}.{1}'.format(test.__module__, test.__class__.__name__, )
return f'{test.__module__}.{test.__class__.__name__}'


def filename_to_suite_name_parts(filename):
Expand Down

0 comments on commit ef4765b

Please sign in to comment.