]> granicus.if.org Git - python/commit
Some small changes.
authorGuido van Rossum <guido@python.org>
Fri, 3 Jan 1997 22:42:08 +0000 (22:42 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 3 Jan 1997 22:42:08 +0000 (22:42 +0000)
commit9d1a02ce335be34d31274797ce3d53012e28e22b
treee764f83b1dac01a52518e63466370cfe0678223c
parenta2a8b27221744428da08e591f6e4c5540f9cd408
Some small changes.

Raise ImportError instead of SystemExit when $DISPLAY is not set, so
regrtest.py will do the right thing.

Add a call to gl.clear() to clear the window before drawing in it.

Add some verbose prints for completeness.

Use gl.v2i() for the coordinates of one of the lines, for a little bit
of variety.

Reduce the time the window is displayed from 5 to 2 seconds.
Lib/test/test_gl.py