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

yhu 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 aee8edd9fa0 adapt to new np outputs (#35691) (#35741)
aee8edd9fa0 is described below

commit aee8edd9fa0f6b5482aca5836a58791ba5c1a8d3
Author: Khorbaladze A. <[email protected]>
AuthorDate: Wed Jul 30 20:26:55 2025 +0400

    adapt to new np outputs (#35691) (#35741)
---
 CHANGES.md                                    | 2 +-
 sdks/python/apache_beam/dataframe/doctests.py | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/CHANGES.md b/CHANGES.md
index a3659785444..206ac3ba11a 100644
--- a/CHANGES.md
+++ b/CHANGES.md
@@ -141,7 +141,7 @@
 * Fixed X (Java/Python) ([#X](https://github.com/apache/beam/issues/X)).
 * [YAML] Fixed handling of missing optional fields in JSON parsing 
([#35179](https://github.com/apache/beam/issues/35179)).
 * [Python] Fix WriteToBigQuery transform using CopyJob does not work with 
WRITE_TRUNCATE write disposition 
([#34247](https://github.com/apache/beam/issues/34247))
-* [Python] Fixed dicomio tags mismatch in integration tests 
([#35658](https://github.com/apache/beam/pull/35658)).
+* [Python] Fixed dicomio tags mismatch in integration tests 
([#30760](https://github.com/apache/beam/issues/30760)).
 * [Java] Fixed spammy logging issues that affected versions 2.64.0 to 2.66.0.
 
 
diff --git a/sdks/python/apache_beam/dataframe/doctests.py 
b/sdks/python/apache_beam/dataframe/doctests.py
index 19f78338310..226a7da7eaa 100644
--- a/sdks/python/apache_beam/dataframe/doctests.py
+++ b/sdks/python/apache_beam/dataframe/doctests.py
@@ -288,7 +288,7 @@ class 
_DeferrredDataframeOutputChecker(doctest.OutputChecker):
       except Exception:
         got = traceback.format_exc()
 
-    if sys.version_info < (3, 11) and 'NumpyExtensionArray' in got:
+    if 'NumpyExtensionArray' in got:
       # Work around formatting differences (np.int32(1) vs 1).
       got = re.sub('np.(int32|str_)[(]([^()]+)[)]', r'\2', got)
       got = re.sub('np.complex128[(]([^()]+)[)]', r'(\1)', got)

Reply via email to