Returns the token(s) we would use if importing this file from another. :param filename str: :rtype: list[str]
(filename)
| 266 | |
| 267 | @staticmethod |
| 268 | def file_import_tokens(filename): |
| 269 | """ |
| 270 | Returns the token(s) we would use if importing this file from another. |
| 271 | |
| 272 | :param filename str: |
| 273 | :rtype: list[str] |
| 274 | """ |
| 275 | return [os.path.split(filename)[-1].rsplit('.py', 1)[0]] |
nothing calls this directly
no outgoing calls
no test coverage detected