~parinporecha/gtg/liblarch-legacy

« back to all changes in this revision

Viewing changes to tests/__init__.py

  • Committer: Parin Porecha
  • Date: 2014-01-31 06:42:33 UTC
  • mfrom: (143.1.16)
  • Revision ID: git-v1:d8b43037c015cba7195b4f38ea959b5f88da0642
Merge pull request #11 from huxuan/port-to-gtk3-py3

Port to gtk3 py3

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
    '''
33
33
    #find all the test files
34
34
    test_dir = os.path.dirname(__file__)
35
 
    test_files = filter(lambda f: f.endswith(".py") and f.startswith("test_"),
36
 
                        os.listdir(test_dir))
 
35
    test_files = [f for f in os.listdir(test_dir) if f.endswith(".py") and f.startswith("test_")]
37
36
 
38
37
 
39
38
    #Loading of the test files and adding to the TestSuite