Skip to content

Commit 40b3888

Browse files
committed
Update test discovery for nose.
1 parent 6b9574c commit 40b3888

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

dynd/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,8 @@ def test(verbosity=1, xunitfile=None, exit=False):
145145
# Add all 'tests' subdirectories to the options
146146
rootdir = os.path.dirname(__file__)
147147
for root, dirs, files in os.walk(rootdir):
148-
if 'tests' in dirs:
149-
testsdir = os.path.join(root, 'tests')
148+
if 'test' in dirs:
149+
testsdir = os.path.join(root, 'test')
150150
argv.append(testsdir)
151151
print('Test dir: %s' % testsdir[len(rootdir)+1:])
152152
# Ask nose to do its thing

0 commit comments

Comments
 (0)