()
| 1169 | |
| 1170 | |
| 1171 | def test_isimportable(): |
| 1172 | try: |
| 1173 | from py.path import isimportable # py vendored version |
| 1174 | except ImportError: |
| 1175 | from py._path.local import isimportable # py library |
| 1176 | |
| 1177 | assert not isimportable("") |
| 1178 | assert isimportable("x") |
| 1179 | assert isimportable("x1") |
| 1180 | assert isimportable("x_1") |
| 1181 | assert isimportable("_") |
| 1182 | assert isimportable("_1") |
| 1183 | assert not isimportable("x-1") |
| 1184 | assert not isimportable("x:1") |
| 1185 | |
| 1186 | |
| 1187 | def test_homedir_from_HOME(monkeypatch): |
nothing calls this directly
no test coverage detected
searching dependent graphs…