Ignore:
Timestamp:
Mar 19, 2014, 11:31:01 PM (11 years ago)
Author:
dmik
Message:

python: Merge vendor 2.7.6 to trunk.

Location:
python/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • python/trunk

  • python/trunk/Lib/test/test_gl.py

    r2 r391  
    44    Roger E. Masse
    55"""
    6 from test.test_support import verbose, TestSkipped
    7 import gl, GL, time
     6import unittest
     7from test.test_support import verbose, import_module
     8import time
     9gl = import_module('gl')
     10GL = import_module('GL')
    811
    912glattrs = ['RGBcolor', 'RGBcursor', 'RGBmode', 'RGBrange', 'RGBwritemask',
     
    8891        display = os.environ['DISPLAY']
    8992    except:
    90         raise TestSkipped, "No $DISPLAY -- skipping gl test"
     93        raise unittest.SkipTest, "No $DISPLAY -- skipping gl test"
    9194
    9295    # touch all the attributes of gl without doing anything
Note: See TracChangeset for help on using the changeset viewer.