Yelp/Testify — Issue #32: test_discovery.py's discover_inner() is broken in Python 2.5
Author: hblanks
Created: 2011-11-04 16:06:55+00:00
State: open

I'm not sure if this is a big deal or not, but here's a traceback from running these tests using Python 2.5.4. FYI.

```
(testify)bash-3.2$ testify ./tests/emr_test.py
Leopard libedit detected.
Traceback (most recent call last):
File "/Users/hblanks/files/virtualenv/testify/bin/testify", line 25, in
test_program.TestProgram()
File "/Users/hblanks/files/virtualenv/testify/lib/python2.5/site-packages/testify/test_program.py", line 207, in __init__
runner.discover(test_path, bucket=other_opts.bucket, bucket_count=other_opts.bucket_count, bucket_overrides=bucket_overrides, bucket_salt=other_opts.bucket_salt)
File "/Users/hblanks/files/virtualenv/testify/lib/python2.5/site-packages/testify/test_runner.py", line 60, in discover
for test_case_class in test_discovery.discover(test_path):
File "/Users/hblanks/files/virtualenv/testify/lib/python2.5/site-packages/testify/test_discovery.py", line 140, in discover
for discovery in discover_inner(what):
File "/Users/hblanks/files/virtualenv/testify/lib/python2.5/site-packages/testify/test_discovery.py", line 59, in discover_inner
new_loc = os.path.relpath(os.path.normpath(locator))
AttributeError: 'module' object has no attribute 'relpath'
```