diff options
Diffstat (limited to 'Lib/test/test_gl.py')
-rwxr-xr-x | Lib/test/test_gl.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_gl.py b/Lib/test/test_gl.py index ceff597..1da55a0 100755 --- a/Lib/test/test_gl.py +++ b/Lib/test/test_gl.py @@ -3,7 +3,7 @@ taken mostly from the documentation. Roger E. Masse """ -from test.test_support import verbose, SkipTest +from test.test_support import verbose import gl, GL, time glattrs = ['RGBcolor', 'RGBcursor', 'RGBmode', 'RGBrange', 'RGBwritemask', @@ -87,7 +87,7 @@ def test_main(): try: display = os.environ['DISPLAY'] except: - raise SkipTest, "No $DISPLAY -- skipping gl test" + raise unittest.SkipTest, "No $DISPLAY -- skipping gl test" # touch all the attributes of gl without doing anything if verbose: |