forked from pool/python-mpld3
Matej Cepl
c57db30f8d
- Update to 0.5.9 * no release notes * bumps some js versions, doc changes - Remove bcond_without test: tests were run all along - Fix failing test suite: * Add mpld3-pr516-dasharray.patch gh#mpld3/mpld3#516 OBS-URL: https://build.opensuse.org/request/show/1056820 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-mpld3?expand=0&rev=8
14 lines
556 B
Diff
14 lines
556 B
Diff
Index: mpld3-0.5.9/mpld3/tests/test_elements.py
|
|
===================================================================
|
|
--- mpld3-0.5.9.orig/mpld3/tests/test_elements.py
|
|
+++ mpld3-0.5.9/mpld3/tests/test_elements.py
|
|
@@ -22,7 +22,7 @@ def test_line():
|
|
assert_equal(line['alpha'], 0.3)
|
|
assert_equal(line['color'], "#000000")
|
|
assert_equal(line['coordinates'], 'data')
|
|
- assert_equal(line['dasharray'], '7.4,3.2')
|
|
+ assert line['dasharray'] in ['7.4,3.2', '6,6']
|
|
assert_equal(line['zorder'], 10)
|
|
assert_equal(line['linewidth'], 2)
|
|
|