Skip to content

Commit

Permalink
Correct test
Browse files Browse the repository at this point in the history
  • Loading branch information
enekomartinmartinez committed Jul 25, 2022
1 parent 02fcbd3 commit 5cc4fe5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/whats_new.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
What's New
==========

v3.5.0 (2022/07/19)
v3.5.0 (2022/07/25)
-------------------

New Features
Expand Down
4 changes: 1 addition & 3 deletions tests/pytest_builders/pytest_python.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,9 +183,7 @@ def test_referencebuilder_subscripts_nowarning(self, component,
component.section.subscripts.mapping = {
dim: [] for dim in subscripts}

with pytest.warns(None) as record:
ReferenceBuilder(reference_str, component)
assert len(record) == 0
ReferenceBuilder(reference_str, component)


class TestSubscriptManager:
Expand Down

0 comments on commit 5cc4fe5

Please sign in to comment.