mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-05 03:20:08 +01:00
Use absolute import of wtc in the unittest modules, instead of depending on them being run as __main__ and getting the folder on the sys.path by default.
This commit is contained in:
@@ -17,7 +17,7 @@ root_dir = os.path.abspath(os.path.join(script_dir, ".."))
|
||||
usage = "usage: %prog [options] name module"
|
||||
unitteststub = """\
|
||||
import unittest
|
||||
import wtc
|
||||
from unittests import wtc
|
||||
import wx
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user