Skip to content

Commit 5722026

Browse files
committed
fix format
1 parent 06248b6 commit 5722026

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bigquery_magics/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
# Whether the magics has already been reigstered by some other packages.
2222
is_registered = False
2323

24+
2425
def load_ipython_extension(ipython):
2526
"""Called by IPython when this module is loaded as an IPython extension."""
2627
# Import here to avoid circular imports.

tests/unit/test_bigquery.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2142,13 +2142,12 @@ def test_bigquery_magic_bigframes_with_dry_run__should_fail():
21422142

21432143
@pytest.mark.usefixtures("ipython_interactive")
21442144
def test_test_bigquery_magic__extension_not_loaded__is_registered_set_to_false():
2145-
21462145
assert bigquery_magics.is_registered is False
21472146

21482147

21492148
@pytest.mark.usefixtures("ipython_interactive")
21502149
def test_test_bigquery_magic__extension_loaded__is_registered_set_to_true():
21512150
ip = IPython.get_ipython()
2152-
ip.extension_manager.load_extension("bigquery_magics")
2151+
ip.extension_manager.load_extension("bigquery_magics")
21532152

21542153
assert bigquery_magics.is_registered is True

0 commit comments

Comments
 (0)