Commits

pkumar  committed 3d1c6de

remove 'import py' from conftest, use os.path instead

  • Participants
  • Parent commits 4320fcb

Comments (0)

Files changed (1)

File MoinMoin/conftest.py

 import inspect
 
 import pytest
-import py
 import MoinMoin.log
 
 """ Logging for tests to avoid useless output like timing information on stderr on test failures
 """
-Moindir = py.path.local(__file__).dirname
+file_path = os.path.abspath(__file__)
+Moindir = os.path.dirname(file_path)
 config_file = Moindir + '/test_logging.conf'
 MoinMoin.log.load_config(config_file)