2
0

main.py 246 B

12345678910111213
  1. import _pytest
  2. if not hasattr(_pytest, '__file__'):
  3. import os
  4. import _pytest._pluggy
  5. import py
  6. _pytest.__file__ = os.getcwd()
  7. _pytest._pluggy.__file__ = os.getcwd()
  8. py.__file__ = os.getcwd()
  9. import pytest
  10. pytest.main()