Skip to content

Commit 7c21b56

Browse files
committed
More strict zips
1 parent eb94ac9 commit 7c21b56

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/bounds/test_interval.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def test_getitem(self):
9191
def test_iter(self):
9292
"""Test that the __iter__() method is working."""
9393
limits = [0, 1]
94-
for bound, limit in zip(Interval(limits), limits, strict=False):
94+
for bound, limit in zip(Interval(limits), limits, strict=True):
9595
assert bound == limit
9696

9797
@pytest.mark.parametrize(

tests/data/test_loader.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def test_plot_available_datasets(self, monkeypatch, subset):
6868
assert all(ax.get_xlabel() == ax.get_ylabel() == '' for ax in populated_axs)
6969

7070
for dataset, ax in zip(
71-
DataLoader.AVAILABLE_DATASETS, populated_axs, strict=False
71+
DataLoader.AVAILABLE_DATASETS, populated_axs, strict=True
7272
):
7373
subplot_title = ax.get_title()
7474
assert subplot_title.startswith(dataset)

0 commit comments

Comments
 (0)