This is an automated email from the ASF dual-hosted git repository.

claudevdm pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git


The following commit(s) were added to refs/heads/master by this push:
     new 53b03f6329a [Python] Deflake TextIO footer test (#39668)
53b03f6329a is described below

commit 53b03f6329ae13df01c2c4b5d19e10a556c477d7
Author: Bruno Volpato <[email protected]>
AuthorDate: Tue Aug 11 10:36:44 2026 -0400

    [Python] Deflake TextIO footer test (#39668)
---
 sdks/python/apache_beam/io/textio_test.py | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/sdks/python/apache_beam/io/textio_test.py 
b/sdks/python/apache_beam/io/textio_test.py
index 3854a22640a..f5f2860d3ee 100644
--- a/sdks/python/apache_beam/io/textio_test.py
+++ b/sdks/python/apache_beam/io/textio_test.py
@@ -1677,9 +1677,10 @@ class TextSinkTest(unittest.TestCase):
     with TestPipeline() as pipeline:
       footer_text = 'footer'
       pcoll = pipeline | beam.core.Create(self.lines)
-      pcoll | 'Write' >> WriteToText(   # pylint: 
disable=expression-not-assigned
-        self.path,
-        footer=footer_text)
+      pcoll | 'Write' >> WriteToText(  # pylint: 
disable=expression-not-assigned
+          self.path,
+          shard_name_template='',
+          footer=footer_text)
 
     read_result = []
     for file_name in glob.glob(self.path + '*'):

Reply via email to