On 2020-10-13 00:36, Drew Parsons wrote:
For instance a recent amd64 error is
ERROR:
test_write_readback.TestPythonMatlabFormat.test_dtype_structured_with_offsets_titles
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/nose/case.py", line 197, in
runTest
self.test(*self.arg)
File
"/tmp/autopkgtest-lxc.58_whuw2/downtmp/autopkgtest_tmp/tests/test_write_readback.py",
line 862, in test_dtype_structured_with_offsets_titles
np.dtype(desc).itemsize + random.randint(1, 100)
ValueError: title already used as a name or title.
But the indicated code line "np.dtype(desc).itemsize +
random.randint(1, 100)" is just a random value for the field
desc_with_itemsize['itemsize']. What does it have to do with names?
Not clear why the indicated ValueError is triggered by this.
Evidently it's not about filename clashes then. That ValueError is
triggered by numpy,
e.g.
https://github.com/numpy/numpy/blob/a72b89c7c2e30f5df5cf27f68b6afd45361934fd/numpy/core/src/multiarray/descriptor.c#L1234