mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-05 03:20:08 +01:00
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@66272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
20 lines
534 B
Python
Executable File
20 lines
534 B
Python
Executable File
import sys
|
|
|
|
# stuff for debugging
|
|
import os
|
|
import wxPhoenix as wx
|
|
print "pid:", os.getpid()
|
|
#print "executable:", sys.executable; raw_input("Press Enter...")
|
|
|
|
if sys.version_info < (2,7):
|
|
# The unittest2 package has back-ported most of the new features of the
|
|
# unittest module in Python 2.7, you can get it at PyPI.
|
|
import unittest2
|
|
else:
|
|
import unittest
|
|
sys.modules['unittest2'] = unittest
|
|
|
|
args = sys.argv[:1] + 'discover -p test_*.py -s unittests -t .'.split() + sys.argv[1:]
|
|
unittest2.main( argv=args )
|
|
|