SHA256
1
0
forked from pool/python-mpld3
python-mpld3/mpld3-pr516-dasharray.patch

14 lines
556 B
Diff
Raw Normal View History

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)