Skip to content

Commit 6935e87

Browse files
committed
Format with black
1 parent 8a9d0ee commit 6935e87

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

tests/test_alter.py

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@
1313
@pytest.fixture
1414
def schema_alter(connection_test):
1515
schema_any = dj.Schema(
16-
PREFIX + "_alter", context=schema_any_module.LOCALS_ANY, connection=connection_test
16+
PREFIX + "_alter",
17+
context=schema_any_module.LOCALS_ANY,
18+
connection=connection_test,
1719
)
1820
schema_any(schema_any_module.TTest)
1921
schema_any(schema_any_module.TTest2)
@@ -61,7 +63,6 @@ def schema_alter(connection_test):
6163

6264

6365
class TestAlter:
64-
6566
def test_alter(self, schema_alter):
6667
original = schema_alter.connection.query(
6768
"SHOW CREATE TABLE " + Experiment.full_table_name
@@ -97,8 +98,11 @@ def test_alter_part(self, schema_alter):
9798
"""
9899
https://github.com/datajoint/datajoint-python/issues/936
99100
"""
100-
self.verify_alter(schema_alter, table=Parent.Child, attribute_sql="`child_id` .* DEFAULT NULL")
101+
self.verify_alter(
102+
schema_alter, table=Parent.Child, attribute_sql="`child_id` .* DEFAULT NULL"
103+
)
101104
self.verify_alter(
102105
schema_alter,
103-
table=Parent.Grandchild, attribute_sql="`grandchild_id` .* DEFAULT NULL"
106+
table=Parent.Grandchild,
107+
attribute_sql="`grandchild_id` .* DEFAULT NULL",
104108
)

0 commit comments

Comments
 (0)