Skip to content

Commit e5685ca

Browse files
committed
chore: delete example.tiff
1 parent 22a2bcd commit e5685ca

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

docs/examples/example.tiff

-64.2 KB
Binary file not shown.

tests/test_load_image.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@
1212
load_image_param = [
1313
# case 1: just filename of file in current directory.
1414
# expect function loads tiff file from cwd
15-
("example.tiff", True),
15+
("KFe2As2-00838.tif", True),
1616
# case 2: absolute file path to file in another directory.
1717
# expect file is found and correctly read.
18-
("home_dir/example.tiff", True),
18+
("home_dir/KFe2As2-00838.tif", True),
1919
# case 3: relative file path to file in another directory.
2020
# expect file is found and correctly read
21-
("./example.tiff", True),
21+
("./KFe2As2-00838.tif", True),
2222
# case 4: non-existent file that incurred by mistype.
2323
("nonexistent_file.tif", False),
2424
]
@@ -31,9 +31,9 @@ def test_load_image(input_path, expected, user_filesystem):
3131
os.chdir(cwd_dir)
3232

3333
# locate source example file inside project docs
34-
source_file = PROJECT_ROOT / "docs" / "examples" / "example.tiff"
35-
shutil.copy(source_file, cwd_dir / "example.tiff")
36-
shutil.copy(source_file, home_dir / "example.tiff")
34+
source_file = PROJECT_ROOT / "docs" / "examples" / "KFe2As2-00838.tif"
35+
shutil.copy(source_file, cwd_dir / "KFe2As2-00838.tif")
36+
shutil.copy(source_file, home_dir / "KFe2As2-00838.tif")
3737

3838
old_cwd = Path.cwd()
3939
os.chdir(home_dir)

0 commit comments

Comments
 (0)