File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed
src/poetry/core/packages/utils Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -243,9 +243,9 @@ def create_nested_marker(
243243
244244 marker = f'{ name } == "{ constraint .text } "'
245245 else :
246- assert isinstance (
247- constraint , VersionRange
248- ), f"Unexpected constraint of type { type ( constraint ) } "
246+ assert isinstance (constraint , VersionRange ), (
247+ f"Unexpected constraint of type { type ( constraint ) } "
248+ )
249249 min_name = max_name = name
250250
251251 parts = []
Original file line number Diff line number Diff line change @@ -777,5 +777,5 @@ def test_sdist_mtime_set_from_envvar_not_int(
777777 assert sdist .exists ()
778778
779779 assert (
780- "SOURCE_DATE_EPOCH environment variable is not an " " int, using mtime=0"
780+ "SOURCE_DATE_EPOCH environment variable is not an int, using mtime=0"
781781 ) in caplog .messages
Original file line number Diff line number Diff line change @@ -64,6 +64,6 @@ def test_valid_trove_classifiers() -> None:
6464 classifier = license .classifier
6565 valid_classifier = classifier in trove_classifiers .classifiers
6666
67- assert (
68- valid_classifier
69- ), f"' { license_id } ' returns invalid classifier ' { classifier } '"
67+ assert valid_classifier , (
68+ f"' { license_id } ' returns invalid classifier ' { classifier } '"
69+ )
You can’t perform that action at this time.
0 commit comments