Thursday 16 December 2010

test_repr.py

Note to self. test_repr.py in the Python test suite does lots of long file name based tests. However, you don't need to have your source code under too many sub-directories on Windows before a test hits the path length limit and fails unwittingly. I think in my case it was c:\Users\MyName\Stackless\stackless-branches\release27-maint\release27-maint-export\release27-maint\...

3 comments:

  1. Could you report this as a bug on the Python bug tracker please.

    http://bugs.python.org/

    ReplyDelete
  2. For now, it is easier to make a vague blog post than a proper bug report. I plan to do the latter when I get the chance.

    ReplyDelete
  3. Hmmmm... looks like test_repr.py has gone from Python trunk (Python 3.2). It's still there in 2.7 though.

    ReplyDelete