Skip to content

Commit

Permalink
CI: disable numpydev job (#30049)
Browse files Browse the repository at this point in the history
* CI: disable numpydev job

xref #30043.
Will take some time to fix all these cases.

* mypy fixup
  • Loading branch information
TomAugspurger authored and jreback committed Dec 4, 2019
1 parent 21c93fc commit f1117bd
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
16 changes: 9 additions & 7 deletions ci/azure/posix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,15 @@ jobs:
PATTERN: "not slow and not network"
LOCALE_OVERRIDE: "zh_CN.UTF-8"

py37_np_dev:
ENV_FILE: ci/deps/azure-37-numpydev.yaml
CONDA_PY: "37"
PATTERN: "not slow and not network"
TEST_ARGS: "-W error"
PANDAS_TESTING_MODE: "deprecate"
EXTRA_APT: "xsel"
# Disabled for NumPy object-dtype warning.
# https://github.com/pandas-dev/pandas/issues/30043
# py37_np_dev:
# ENV_FILE: ci/deps/azure-37-numpydev.yaml
# CONDA_PY: "37"
# PATTERN: "not slow and not network"
# TEST_ARGS: "-W error"
# PANDAS_TESTING_MODE: "deprecate"
# EXTRA_APT: "xsel"

steps:
- script: |
Expand Down
2 changes: 1 addition & 1 deletion pandas/core/generic.py
Original file line number Diff line number Diff line change
Expand Up @@ -9133,7 +9133,7 @@ def tshift(self, periods: int = 1, freq=None, axis=0):
if freq == orig_freq:
new_data = self._data.copy()
new_data.axes[block_axis] = index.shift(periods)
else:
elif orig_freq is not None:
msg = (
f"Given freq {freq.rule_code} does not match"
f" PeriodIndex freq {orig_freq.rule_code}"
Expand Down

0 comments on commit f1117bd

Please sign in to comment.