(self, path1)
| 253 | assert newpath.purebasename == "samplefile" |
| 254 | |
| 255 | def test_multiple_parts(self, path1): |
| 256 | newpath = path1.join("samplefile.py") |
| 257 | dirname, purebasename, basename, ext = newpath._getbyspec( |
| 258 | "dirname,purebasename,basename,ext" |
| 259 | ) |
| 260 | assert str(path1).endswith(dirname) # be careful with win32 'drive' |
| 261 | assert purebasename == "samplefile" |
| 262 | assert basename == "samplefile.py" |
| 263 | assert ext == ".py" |
| 264 | |
| 265 | def test_dotted_name_ext(self, path1): |
| 266 | newpath = path1.join("a.b.c") |
nothing calls this directly
no test coverage detected