Skip to content

Commit ec648cc

Browse files
committed
Add new allowed deprecation warnings for cufflinks
Added two deprecation warning messages related to DatetimeIndex.format and Series.__getitem__ to the app_allow_external_errors list, as these are triggered by the cufflinks package.
1 parent 0de7da4 commit ec648cc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/playwright/examples/example_apps.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,8 @@ def get_apps(path: str) -> typing.List[str]:
9494
"FutureWarning: use_inf_as_na option is deprecated",
9595
"pd.option_context('mode.use_inf_as_na", # continutation of line above,
9696
"RuntimeWarning: invalid value encountered in dot", # some groups didn't have enough data points to create a meaningful line
97+
"DatetimeIndex.format is deprecated and will be removed in a future version. Convert using index.astype(str) or index.map(formatter) instead.", # cufflinks package is using this method
98+
"Series.__getitem__ treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). To access a value by position, use `ser.iloc[pos]`", # cufflinks package is using this method
9799
]
98100
app_allow_js_errors: typing.Dict[str, typing.List[str]] = {
99101
"examples/brownian": ["Failed to acquire camera feed:"],

0 commit comments

Comments
 (0)