Skip to content

Commit aee8edd

Browse files
authored
adapt to new np outputs (#35691) (#35741)
1 parent 480fcc8 commit aee8edd

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

CHANGES.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@
141141
* Fixed X (Java/Python) ([#X](https://github.com/apache/beam/issues/X)).
142142
* [YAML] Fixed handling of missing optional fields in JSON parsing ([#35179](https://github.com/apache/beam/issues/35179)).
143143
* [Python] Fix WriteToBigQuery transform using CopyJob does not work with WRITE_TRUNCATE write disposition ([#34247](https://github.com/apache/beam/issues/34247))
144-
* [Python] Fixed dicomio tags mismatch in integration tests ([#35658](https://github.com/apache/beam/pull/35658)).
144+
* [Python] Fixed dicomio tags mismatch in integration tests ([#30760](https://github.com/apache/beam/issues/30760)).
145145
* [Java] Fixed spammy logging issues that affected versions 2.64.0 to 2.66.0.
146146

147147

sdks/python/apache_beam/dataframe/doctests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ def sort_and_normalize(text):
288288
except Exception:
289289
got = traceback.format_exc()
290290

291-
if sys.version_info < (3, 11) and 'NumpyExtensionArray' in got:
291+
if 'NumpyExtensionArray' in got:
292292
# Work around formatting differences (np.int32(1) vs 1).
293293
got = re.sub('np.(int32|str_)[(]([^()]+)[)]', r'\2', got)
294294
got = re.sub('np.complex128[(]([^()]+)[)]', r'(\1)', got)

0 commit comments

Comments
 (0)