Fix CONTEXT_SHARE test after refactor broke it.
Fix CONTEXT_SHARE test after refactor broke it.


Index: tests/window/CONTEXT_SHARE.py
===================================================================
--- tests/window/CONTEXT_SHARE.py	(revision 777)
+++ tests/window/CONTEXT_SHARE.py	(working copy)
@@ -42,8 +42,8 @@
         glEndList()
         self.assertTrue(glIsList(list))

-        factory = get_factory()
-        factory.set_context_share(CONTEXT_SHARE_NONE)
+        factory = window.get_factory()
+        factory.set_context_share(window.CONTEXT_SHARE_NONE)
         factory.set_size(200, 200)
         w2 = factory.create_window()
         w2.set_visible(True)

mammadori/pyglet,theblacklion/pyglet,mammadori/pyglet,oktayacikalin/pyglet,theblacklion/pyglet,theblacklion/pyglet,oktayacikalin/pyglet,oktayacikalin/pyglet,mammadori/pyglet,oktayacikalin/pyglet,oktayacikalin/pyglet,mammadori/pyglet,theblacklion/pyglet,theblacklion/pyglet