Development of an internal social media platform with personalised dashboards for students
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

noendingnewline.py 503B

123456789101112131415161718192021222324252627282930313233343536
  1. import unittest
  2. class TestCase(unittest.TestCase):
  3. def setUp(self):
  4. unittest.TestCase.setUp(self)
  5. def tearDown(self):
  6. unittest.TestCase.tearDown(self)
  7. def testIt(self):
  8. self.a = 10
  9. self.xxx()
  10. def xxx(self):
  11. if False:
  12. pass
  13. print 'a'
  14. if False:
  15. pass
  16. pass
  17. if False:
  18. pass
  19. print 'rara'
  20. if __name__ == '__main__':
  21. print 'test2'
  22. unittest.main()