add __main__ for stand-alone test runs
svn: r23038
This commit is contained in:
parent
2a6e1a2f1e
commit
3f32fbcab0
@ -173,3 +173,6 @@ class DateHandlerTest(unittest.TestCase):
|
||||
with self.assertRaises(DateError):
|
||||
d.set(Date.QUAL_NONE, Date.MOD_SPAN, Date.CAL_GREGORIAN,
|
||||
(4, 7, 1789, False, 5, 88, 1876, False), "Text comment")
|
||||
|
||||
if __name__ == "__main__":
|
||||
unittest.main()
|
||||
|
Loading…
Reference in New Issue
Block a user