Skip to content

Commit 47bf572

Browse files
committed
format missing files
1 parent 98201fa commit 47bf572

File tree

2 files changed

+26
-29
lines changed

2 files changed

+26
-29
lines changed

tests/schema_simple.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -244,9 +244,9 @@ class ArgmaxTest(dj.Lookup):
244244
def contents(self):
245245
n = self.n
246246
yield from zip(
247-
range(n ** 2),
247+
range(n**2),
248248
itertools.chain(*itertools.repeat(tuple(map(chr, range(100, 100 + n))), n)),
249-
np.random.rand(n ** 2),
249+
np.random.rand(n**2),
250250
)
251251

252252

tests/test_schema.py

Lines changed: 24 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -133,33 +133,30 @@ class Unit(dj.Part):
133133

134134
def test_list_tables():
135135
# https://github.com/datajoint/datajoint-python/issues/838
136-
assert (
137-
set(
138-
[
139-
"reserved_word",
140-
"#l",
141-
"#a",
142-
"__d",
143-
"__b",
144-
"__b__c",
145-
"__e",
146-
"__e__f",
147-
"#outfit_launch",
148-
"#outfit_launch__outfit_piece",
149-
"#i_j",
150-
"#j_i",
151-
"#t_test_update",
152-
"#data_a",
153-
"#data_b",
154-
"f",
155-
"#argmax_test",
156-
"#website",
157-
"profile",
158-
"profile__website",
159-
]
160-
)
161-
== set(schema_simple.list_tables())
162-
)
136+
assert set(
137+
[
138+
"reserved_word",
139+
"#l",
140+
"#a",
141+
"__d",
142+
"__b",
143+
"__b__c",
144+
"__e",
145+
"__e__f",
146+
"#outfit_launch",
147+
"#outfit_launch__outfit_piece",
148+
"#i_j",
149+
"#j_i",
150+
"#t_test_update",
151+
"#data_a",
152+
"#data_b",
153+
"f",
154+
"#argmax_test",
155+
"#website",
156+
"profile",
157+
"profile__website",
158+
]
159+
) == set(schema_simple.list_tables())
163160

164161

165162
def test_schema_save():

0 commit comments

Comments
 (0)