Download src/Mod/CAM/CAMTests/FilePathTestUtils.py from AbdulElahGwaith/FreeCAD: direct link, hf CLI and curl.
- Browser
- Download file 241 Bytes
-
https://huggingface.co/AbdulElahGwaith/FreeCAD/resolve/main/src/Mod/CAM/CAMTests/FilePathTestUtils.py
- Command line
-
hf download hf://AbdulElahGwaith/FreeCAD/src/Mod/CAM/CAMTests/FilePathTestUtils.py
-
curl -L -o FilePathTestUtils.py https://huggingface.co/AbdulElahGwaith/FreeCAD/resolve/main/src/Mod/CAM/CAMTests/FilePathTestUtils.py
241 Bytes
| # SPDX-License-Identifier: LGPL-2.1-or-later | |
| import os | |
| from unittest import TestCase | |
| def assertFilePathsEqual(self: TestCase, path1: os.PathLike, path2: os.PathLike): | |
| self.assertEqual(os.path.realpath(path1), os.path.realpath(path2)) | |