Black preview (#17217)
* Black preview * Fixup too! * Fix check copies * Use the same version as the CI * Bump black
This commit is contained in:
@@ -1654,8 +1654,12 @@ class GenerationIntegrationTests(unittest.TestCase):
|
||||
self.assertListEqual(
|
||||
generated_text,
|
||||
[
|
||||
"The couple announced the birth of their son, Silas Randall Timberlake, in a statement. Silas was the middle name of Timberlake's maternal grandfather Bill Bomar. Randall is the musician's own middle name, as well as his father's first. It is the first baby for both of them.",
|
||||
"Justin Timberlake and Jessica Biel have a son. The baby is named Silas Randall Timberlake. It is the first child for both. The couple announced the pregnancy in January. The name Silas is the middle name of Timberlake's maternal grandfather. It's also his own middle name.",
|
||||
"The couple announced the birth of their son, Silas Randall Timberlake, in a statement. Silas was the"
|
||||
" middle name of Timberlake's maternal grandfather Bill Bomar. Randall is the musician's own middle"
|
||||
" name, as well as his father's first. It is the first baby for both of them.",
|
||||
"Justin Timberlake and Jessica Biel have a son. The baby is named Silas Randall Timberlake. It is the"
|
||||
" first child for both. The couple announced the pregnancy in January. The name Silas is the middle"
|
||||
" name of Timberlake's maternal grandfather. It's also his own middle name.",
|
||||
],
|
||||
)
|
||||
|
||||
@@ -2392,7 +2396,8 @@ class GenerationIntegrationTests(unittest.TestCase):
|
||||
self.assertListEqual(
|
||||
generated_text,
|
||||
[
|
||||
"The soldiers were not prepared and didn't know how big the big weapons would be, so they scared them off. They had no idea what to do",
|
||||
"The soldiers were not prepared and didn't know how big the big weapons would be, so they scared them"
|
||||
" off. They had no idea what to do",
|
||||
],
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user