Allow skipping of regression tests not supported on windows. This reduces noise in the regression test suite for py3k on Windows.

This commit is contained in:
Kristján Valur Jónsson 2009-04-01 11:28:47 +00:00
parent e3944a5e1e
commit 42a40c59a0
7 changed files with 14 additions and 10 deletions

View file

@ -1,11 +1,12 @@
import tkinter
from tkinter.test import runtktests
from test import support
import unittest
# Skip test if _tkinter wasn't built.
support.import_module('_tkinter')
import tkinter
from tkinter.test import runtktests
import unittest
import tkinter
try: