File update-PEP-701.patch of Package python-black

From ea716905a9d784734aa3f561a01f3447aaecd2ea Mon Sep 17 00:00:00 2001
From: GiGaGon <107241144+MeGaGiGaGon@users.noreply.github.com>
Date: Wed, 11 Jun 2025 10:50:20 -0700
Subject: [PATCH] Update pep_701.py

---
 tests/data/cases/pep_701.py |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Index: black-25.1.0/tests/data/cases/pep_701.py
===================================================================
--- black-25.1.0.orig/tests/data/cases/pep_701.py	2020-02-02 01:00:00.000000000 +0100
+++ black-25.1.0/tests/data/cases/pep_701.py	2025-06-18 22:23:12.605019361 +0200
@@ -74,9 +74,9 @@
 x = f"a{2+2:=^{foo(x+y**2):something else}one more}b"
 f'{(abc:=10)}'
 
-f"This is a really long string, but just make sure that you reflow fstrings {
+f"""This is a really long string, but just make sure that you reflow fstrings {
     2+2:d
-}"
+}"""
 f"This is a really long string, but just make sure that you reflow fstrings correctly {2+2:d}"
 
 f"{2+2=}"
@@ -213,9 +213,9 @@
 x = f"a{2+2:=^{foo(x+y**2):something else}one more}b"
 f"{(abc:=10)}"
 
-f"This is a really long string, but just make sure that you reflow fstrings {
+f"""This is a really long string, but just make sure that you reflow fstrings {
     2+2:d
-}"
+}"""
 f"This is a really long string, but just make sure that you reflow fstrings correctly {2+2:d}"
 
 f"{2+2=}"
openSUSE Build Service is sponsored by