File: noendingnewline.py

package info (click to toggle)
logilab-common 2.1.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,204 kB
  • sloc: python: 11,129; makefile: 41
file content (28 lines) | stat: -rw-r--r-- 450 bytes parent folder | download | duplicates (3)
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
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:
            print("a")

        if False:
            pass

        if False:
            print("rara")


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