summaryrefslogtreecommitdiff
path: root/tests/testdata/python2/data/noendingnewline.py
blob: e1d6e4a1868615369c3fac4d8bcb550c16291d53 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
import unittest


class TestCase(unittest.TestCase):

    def setUp(self):
        unittest.TestCase.setUp(self)


    def tearDown(self):
        unittest.TestCase.tearDown(self)

    def testIt(self):
        self.a = 10
        self.xxx()


    def xxx(self):
        if False:
            pass
            print 'a'

        if False:
            pass
            pass

        if False:
            pass
            print 'rara'


if __name__ == '__main__':
    print 'test2'
    unittest.main()