Skip to content

Commit

Permalink
Format with black==24.4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
ethho committed Sep 12, 2024
1 parent 80a04c4 commit 446f987
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions tests/test_declare.py
Original file line number Diff line number Diff line change
Expand Up @@ -364,14 +364,11 @@ class Table_With_Underscores(dj.Manual):

def test_hidden_attributes(schema_any):
assert (
list(Experiment().heading._attributes.keys())[-1].split("_")[2]
== "timestamp"
list(Experiment().heading._attributes.keys())[-1].split("_")[2] == "timestamp"
)
assert (
len([a for a in Experiment().heading._attributes.values() if a.is_hidden])
!= 0
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
len([a for a in Experiment().heading.attributes.values() if a.is_hidden]) == 0
)

0 comments on commit 446f987

Please sign in to comment.