Skip to content

Commit

Permalink
Update tests_old/test_declare.py
Browse files Browse the repository at this point in the history
Co-authored-by: Dimitri Yatsenko <[email protected]>
  • Loading branch information
ethho and dimitri-yatsenko authored Sep 12, 2024
1 parent eb72bd1 commit e0133d6
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions tests_old/test_declare.py
Original file line number Diff line number Diff line change
Expand Up @@ -348,11 +348,5 @@ def test_hidden_attributes():
list(Experiment().heading._attributes.keys())[-1].split("_")[2]
== "timestamp"
)
assert (
len([a for a in Experiment().heading._attributes.values() if a.is_hidden])
!= 0
)
assert (
len([a for a in Experiment().heading.attributes.values() if a.is_hidden])
== 0
)
assert any(a.is_hidden for a in Experiment().heading._attributes.values())
assert not any(a.is_hidden for a in Experiment().heading.attributes.values())

0 comments on commit e0133d6

Please sign in to comment.