Commit d0bd0863 authored by Chris Toshok's avatar Chris Toshok

add smoke tests for the new modules

parent 67e53a64
import bz2
print bz2.decompress(bz2.compress("hello world"))
import curses, sys
try:
try:
curses.initscr()
print 1
print curses.version
print curses.longname()
print curses.baudrate()
print curses.can_change_color()
curses.start_color()
print curses.color_pair(curses.A_BLINK)
finally:
curses.endwin()
except:
print sys.exc_info()[1]
import grp
print grp.getgrnam("root")
import termios, sys
fd = sys.stdout.fileno()
try:
print termios.tcgetattr(fd)
except:
print sys.exc_info()[1]
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment