CI: failing timedelta64 test on Linux py37_locale build
See original GitHub issueThis is seen on a few PRs (eg https://dev.azure.com/pandas-dev/pandas/_build/results?buildId=34508&view=logs&jobId=c4100758-acc4-5cd0-72d8-90828968cf00&j=c4100758-acc4-5cd0-72d8-90828968cf00)
=================================== FAILURES ===================================
___ TestSeriesDtypes.test_astype_generic_timestamp_no_frequency[timedelta64] ___
[gw0] linux -- Python 3.7.6 /home/vsts/miniconda3/envs/pandas-dev/bin/python
self = <pandas.tests.series.test_dtypes.TestSeriesDtypes object at 0x7f3d21a6c050>
dtype = <class 'numpy.timedelta64'>
@pytest.mark.parametrize("dtype", [np.datetime64, np.timedelta64])
def test_astype_generic_timestamp_no_frequency(self, dtype):
# see gh-15524, gh-15987
data = [1]
s = Series(data)
msg = (
fr"The '{dtype.__name__}' dtype has no unit\. "
fr"Please pass in '{dtype.__name__}\[ns\]' instead."
)
with pytest.raises(ValueError, match=msg):
> s.astype(dtype)
E Failed: DID NOT RAISE <class 'ValueError'>
pandas/tests/series/test_dtypes.py:395: Failed
Issue Analytics
- State:
- Created 3 years ago
- Comments:15 (15 by maintainers)
Top Results From Across the Web
CI failure - Windows unit tests · Issue #12372 - GitHub
The quickest fix would be to force py to be 1.8.1, because fixing the tests for windows (by changing the order of nodes...
Read more >Travis CI build failed - Stack Overflow
But when i pushed my first commit after integrating Travis ,it is giving me this error when it auto builds. /home/travis/build.sh: line 179:...
Read more >Continuous Integration - The Mesa 3D Graphics Library
The CI runs a number of tests, from trivial build-testing to complex GPU rendering: Build testing for a number of build systems, configurations...
Read more >Concourse CI
Built on the simple mechanics of resources, tasks, and jobs, Concourse presents a general approach to automation that makes it great for CI/CD....
Read more >Build trust in continuous integration for your Rust library
A single glitch of internet access in the CI platform might fail our test and will waste our efforts on debugging that failure....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’ve been seeing it for a few days, but its not in the npdev build. Its py37, Linux, numpy 1.18.1
xfailed the affected test in the relevant conditions