Commit 13cca1d9 authored by Luke Campagnola's avatar Luke Campagnola
Browse files

Add GraphicsWindow ref check

parent 27f24d1a
......@@ -61,7 +61,17 @@ def test_ImageView():
for i in range(5):
assert_alldead(mkobjs())
def test_GraphicsWindow():
def mkobjs():
w = pg.GraphicsWindow()
p1 = w.addPlot()
v1 = w.addViewBox()
return mkrefs(w, p1, v1)
for i in range(5):
assert_alldead(mkobjs())
if __name__ == '__main__':
ot = test_PlotItem()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment