Skip to content

Commit c3a9d61

Browse files
committed
add todo for making doctest more robust
1 parent 49f32b8 commit c3a9d61

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

conftest.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,3 +48,8 @@ def default_doctest_imports(doctest_namespace, polars_session_or_bpd):
4848
doctest_namespace["pa"] = pa
4949
doctest_namespace["bpd"] = polars_session_or_bpd
5050
bigframes._config.options.display.progress_bar = None
51+
52+
# TODO(tswast): Consider setting the numpy printoptions here for better
53+
# compatibility across numpy versions.
54+
# https://numpy.org/doc/stable/release/2.0.0-notes.html#representation-of-numpy-scalars-changed
55+
# https://numpy.org/doc/stable/reference/generated/numpy.set_printoptions.html#numpy-set-printoptions

0 commit comments

Comments
 (0)