Skip to content

Commit f1f93dc

Browse files
committed
Move the test outside the package.
Signed-off-by: Yoan Blanc <[email protected]>
1 parent 9412b8e commit f1f93dc

18 files changed

+4
-2
lines changed

Diff for: .gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
*.pyc
33
*.egg-info
44
*.egg
5+
*.eggs
6+
*.cache
57
dist
68
doc/build
79
build
File renamed without changes.

Diff for: pyvips/tests/helpers.py renamed to tests/helpers.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
SRGB_FILE = os.path.join(IMAGES, "sRGB.icm")
1414

1515
TEST_IMAGES = os.path.join(os.path.dirname(__file__),
16-
'..', '..', 'test_images')
16+
os.pardir, 'test_images')
1717
MATLAB_FILE = os.path.join(TEST_IMAGES, "sample.mat")
1818
PNG_FILE = os.path.join(TEST_IMAGES, "sample.png")
1919
TIF_FILE = os.path.join(TEST_IMAGES, "sample.tif")
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

Diff for: tox.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ python =
1818
pypy3: test
1919

2020
[pytest]
21-
norecursedirs = .eggs tmp* vips-*
21+
norecursedirs = .eggs build tmp* vips-*
2222
log_level = WARNING
2323

2424
[testenv]

0 commit comments

Comments
 (0)