eggs/py-1.4.0-py2.6.egg/py/test.py
changeset 307 c6bca38c1cbf
equal deleted inserted replaced
306:5ff1fc726848 307:c6bca38c1cbf
       
     1 import sys
       
     2 if __name__ == '__main__':
       
     3     import pytest
       
     4     sys.exit(pytest.main())
       
     5 else:
       
     6     import sys, pytest
       
     7     sys.modules['py.test'] = pytest
       
     8 
       
     9 # for more API entry points see the 'tests' definition
       
    10 # in __init__.py