[pywin32-checkins] pywin32/win32/test test_win32gui.py,NONE,1.1
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Mark H. <mha...@us...> - 2008-12-11 00:25:45
|
Update of /cvsroot/pywin32/pywin32/win32/test In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv11688/test Added Files: test_win32gui.py Log Message: Merge many tp_getattro/setattro, "2 ints" and buffer changes from Roger via the py3k branch. --- NEW FILE: test_win32gui.py --- # tests for win32gui import unittest import win32gui class TestMisc(unittest.TestCase): def test_get_string(self): # test invalid addresses cause a ValueError rather than crash! self.assertRaises(ValueError, win32gui.PyGetString, 0) self.assertRaises(ValueError, win32gui.PyGetString, 1) self.assertRaises(ValueError, win32gui.PyGetString, 1,1) if __name__=='__main__': unittest.main() |