Skip to content

Commit 62d469d

Browse files
authored
Merge pull request #85 from /issues/84
update test url
2 parents 39f2aa8 + b797528 commit 62d469d

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

tests/conftest.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@
1010
def setup_and_teardown():
1111
log_config = os.path.join(os.path.split(__file__)[0], "resources", "log4j.properties")
1212

13-
assert os.path.exists(log_config)
14-
1513
javabridge.start_vm(
1614
args=[
1715
"-Dlog4j.configuration=file:{}".format(log_config),

tests/test_load_using_bioformats.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ def test_open_file():
3636

3737

3838
def test_open_http():
39-
url = "https://github.com/CellProfiler/python-bioformats"+\
40-
"/raw/master/bioformats/tests/Channel1-01-A-01.tif"
39+
url = "https://github.com/CellProfiler/python-bioformats/raw/39f2aa8360324b4129284d4f647d4f7ee7797518" \
40+
"/tests/resources/Channel1-01-A-01.tif"
4141
image, scale = bioformats.load_image_url(url, rescale=False, wants_max_intensity=True)
4242
assert image.shape[0] == 640
4343

0 commit comments

Comments
 (0)