Skip to content

Commit d2d4c13

Browse files
committed
copy bmp and xls fixtures needed by examples.
1 parent 9fc77c9 commit d2d4c13

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/test_examples.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,9 @@ def check_example(package, filename):
4141
with TempDirectory() as actual:
4242
# copy files to the directory
4343
copy(path.join(example_dir, filename), actual.path)
44-
for xls in glob(path.join(example_dir, '*.xls')):
45-
copy(xls, actual.path)
44+
for pattern in ('*.xls', '*.bmp'):
45+
for fixture in glob(path.join(example_dir, pattern)):
46+
copy(fixture, actual.path)
4647

4748
os.chdir(actual.path)
4849
output = TemporaryFile('w+')

0 commit comments

Comments
 (0)