* [gentoo-commits] gentoo-x86 commit in dev-python/bokeh/files: bokeh-0.4.4-fix_test_object.patch
@ 2014-07-07 6:52 Justin Lecher (jlec)
0 siblings, 0 replies; only message in thread
From: Justin Lecher (jlec) @ 2014-07-07 6:52 UTC (permalink / raw
To: gentoo-commits
jlec 14/07/07 06:52:44
Added: bokeh-0.4.4-fix_test_object.patch
Log:
dev-python/bokeh: Importing Version BUmp from sci overlay, thanks olifre; #516052
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)
Revision Changes Path
1.1 dev-python/bokeh/files/bokeh-0.4.4-fix_test_object.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/bokeh/files/bokeh-0.4.4-fix_test_object.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/bokeh/files/bokeh-0.4.4-fix_test_object.patch?rev=1.1&content-type=text/plain
Index: bokeh-0.4.4-fix_test_object.patch
===================================================================
commit 9606ae037dbd9ee888f9763a1bd9c6d7fc3b5824
Author: Bryan Van de Ven <bryanv@continuum.io>
Date: Sat Apr 19 10:05:35 2014 -0500
fix #548
diff --git a/bokeh/plotobject.py b/bokeh/plotobject.py
index 7485d27..92ae2dd 100644
--- a/bokeh/plotobject.py
+++ b/bokeh/plotobject.py
@@ -220,7 +220,7 @@ class PlotObject(HasProps):
def references(self):
"""Returns all ``PlotObjects`` that this object has references to. """
- return self.collect_plot_objects(self)
+ return set(self.collect_plot_objects(self))
#---------------------------------------------------------------------
# View Model connection methods
diff --git a/bokeh/tests/test_objects.py b/bokeh/tests/test_objects.py
index 1a17f69..75d5678 100644
--- a/bokeh/tests/test_objects.py
+++ b/bokeh/tests/test_objects.py
@@ -242,7 +242,7 @@ class TestPlotObject(unittest.TestCase):
x2 = X2(y=y, z2=z2)
# TODO: self.assertEqual(x1.references(), [t1, y, t2, x1])
- self.assertEqual(x2.references(), [t1, y, t2, z2, x2])
+ self.assertEqual(x2.references(), set([t1, y, t2, z2, x2]))
if __name__ == "__main__":
unittest.main()
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2014-07-07 6:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-07 6:52 [gentoo-commits] gentoo-x86 commit in dev-python/bokeh/files: bokeh-0.4.4-fix_test_object.patch Justin Lecher (jlec)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox