doctests fail with numpy 1.14
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Yade |
New
|
Undecided
|
Unassigned | ||
Debian |
Fix Released
|
Unknown
|
Bug Description
=======
FAIL: saveDataTxt (yade.plot)
Doctest: yade.plot.
-------
Traceback (most recent call last):
File "/usr/lib/
raise self.failureExc
AssertionError: Failed doctest test for yade.plot.
File "/usr/lib/
-------
File "/usr/lib/
Failed example:
d=numpy.
Exception raised:
Traceback (most recent call last):
File "/usr/lib/
File "<doctest yade.plot.
File "/usr/lib/
fhd = iter(np.
File "/usr/lib/
return ds.open(path, mode, encoding=encoding, newline=newline)
File "/usr/lib/
File "/usr/lib/
raise ValueError("bz2 text files not supported in python2")
ValueError: bz2 text files not supported in python2
-------
File "/usr/lib/
Failed example:
d['a']
Exception raised:
Traceback (most recent call last):
File "/usr/lib/
File "<doctest yade.plot.
d['a']
NameError: name 'd' is not defined
-------
File "/usr/lib/
Failed example:
d['b']
Exception raised:
Traceback (most recent call last):
File "/usr/lib/
File "<doctest yade.plot.
d['b']
NameError: name 'd' is not defined
-------
Ran 58 tests in 1.063s
Changed in debian: | |
status: | Unknown → Confirmed |
Changed in debian: | |
status: | Confirmed → Fix Released |
This was found in Ubuntu autopkgtests (at https:/ /objectstorage. prodstack4- 5.canonical. com/v1/ AUTH_77e2ada1e7 a84929a74ba3b87 153c0ac/ autopkgtest- cosmic/ cosmic/ amd64/y/ yade/20180529_ 175759_ 38e3f@/ log.gz)