Browse Source

tests: Don't run tkpanels.Placer test without Tk already inited

Necessary for being able to run test suite on macOS
rdb 2 years ago
parent
commit
476374b814
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tests/tkpanels/test_Placer.py

+ 1 - 1
tests/tkpanels/test_Placer.py

@@ -4,7 +4,7 @@ from direct.showbase.ShowBase import ShowBase
 from direct.tkpanels.Placer import Placer
 from direct.tkpanels.Placer import Placer
 
 
 
 
-def test_Placer(window):
+def test_Placer(window, tk_toplevel):
     base = ShowBase()
     base = ShowBase()
     base.start_direct()
     base.start_direct()
     root = Pmw.initialise()
     root = Pmw.initialise()