pFUnitParser.py was inadvertently make Python3 only with the use of the pathlib module. While we should all move to Python 3 (and pFUnit 5 might make that a requirement), for now, we return Python2 compatibility by using os.path mechanisms.
Also, we make the new matching test case-insensitive. Note as this is done with .lower() this is not Unicode safe, but Fortran doesn't really support Unicode in module names, so we are okay.
pFUnitParser.py
was inadvertently make Python3 only with the use of thepathlib
module. While we should all move to Python 3 (and pFUnit 5 might make that a requirement), for now, we return Python2 compatibility by usingos.path
mechanisms.Also, we make the new matching test case-insensitive. Note as this is done with
.lower()
this is not Unicode safe, but Fortran doesn't really support Unicode in module names, so we are okay.