Skip to content

Commit 8552b6a

Browse files
author
y-p
committed
TST: ensure_clean needs to import nose to skipTest()
1 parent bb261f2 commit 8552b6a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pandas/util/testing.py

+1
Original file line numberDiff line numberDiff line change
@@ -355,6 +355,7 @@ def ensure_clean(filename=None, return_filelike=False):
355355
try:
356356
fd, filename = tempfile.mkstemp(suffix=filename)
357357
except UnicodeEncodeError:
358+
import nose
358359
raise nose.SkipTest('no unicode file names on this system')
359360

360361
try:

0 commit comments

Comments
 (0)