We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb72bd1 commit e0133d6Copy full SHA for e0133d6
tests_old/test_declare.py
@@ -348,11 +348,5 @@ def test_hidden_attributes():
348
list(Experiment().heading._attributes.keys())[-1].split("_")[2]
349
== "timestamp"
350
)
351
- assert (
352
- len([a for a in Experiment().heading._attributes.values() if a.is_hidden])
353
- != 0
354
- )
355
356
- len([a for a in Experiment().heading.attributes.values() if a.is_hidden])
357
- == 0
358
+ 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 commit comments