Skip to content

Commit f7eed17

Browse files
committed
update file size test after dependency upgrade
1 parent 8bca591 commit f7eed17

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_pubplot.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def test_pub_plot(self):
3232
assert os.path.exists(out_file)
3333
# get file size
3434
# this needs to be improved so it figures if the file is similar to the one in the repo
35-
assert os.path.getsize(out_file) > 160000 and os.path.getsize(out_file) < 170000
35+
assert os.path.getsize(out_file) > 140000 and os.path.getsize(out_file) < 150000
3636

3737
with pytest.raises(ValueError):
3838
ds.pub_plot(mid_point = -1000)
@@ -46,7 +46,7 @@ def test_pub_plot(self):
4646
assert os.path.exists(out_file)
4747
# get file size
4848
# this needs to be improved so it figures if the file is similar to the one in the repo
49-
assert os.path.getsize(out_file) > 160000 and os.path.getsize(out_file) < 170000
49+
assert os.path.getsize(out_file) > 140000 and os.path.getsize(out_file) < 150000
5050

5151
# value error check
5252

0 commit comments

Comments
 (0)