You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current Behavior A clear and concise description of the behavior.
Some tests cause OSError: [Errno 36] File name too long because the test path and test name is too long for the file system to support.
Input Code
Just create a test in a sufficiently long test path.
Expected behavior/code A clear and concise description of what you expected to
happen (or code).
Test to Just Work(tm).
Environment
Python(s): [e.g. python3.8, python3.9, ...]
Python 3.11 on ext4.
Possible Solution
Change path generation code to not substitute os.sep for - and create the full directory hierarchy. I use a short value for --memray-bin-path and this change to the plugin:
Bug Report
Current Behavior A clear and concise description of the behavior.
Some tests cause
OSError: [Errno 36] File name too long
because the test path and test name is too long for the file system to support.Input Code
Just create a test in a sufficiently long test path.
Expected behavior/code A clear and concise description of what you expected to
happen (or code).
Test to Just Work(tm).
Environment
Python 3.11 on ext4.
Possible Solution
Change path generation code to not substitute
os.sep
for-
and create the full directory hierarchy. I use a short value for--memray-bin-path
and this change to the plugin:This works in my case because the path is long, but the actual file name is short enough for the file system to support.
The text was updated successfully, but these errors were encountered: