Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit df8a993

Browse files
committed
run black
1 parent afbfaaa commit df8a993

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

IPython/lib/tests/test_deepreload.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,21 +12,22 @@
1212
from IPython.utils.tempdir import TemporaryDirectory
1313
from IPython.lib.deepreload import reload as dreload
1414

15+
1516
def test_deepreload():
1617
"Test that dreload does deep reloads and skips excluded modules."
1718
with TemporaryDirectory() as tmpdir:
1819
with prepended_to_syspath(tmpdir):
1920
tmpdirpath = Path(tmpdir)
20-
with open( tmpdirpath / 'A.py' , 'w') as f:
21+
with open(tmpdirpath / "A.py", "w") as f:
2122
f.write("class Object(object):\n pass\n")
22-
with open( tmpdirpath / 'B.py' , 'w') as f:
23+
with open(tmpdirpath / "B.py", "w") as f:
2324
f.write("import A\n")
2425
import A
2526
import B
2627

2728
# Test that A is not reloaded.
2829
obj = A.Object()
29-
dreload(B, exclude=['A'])
30+
dreload(B, exclude=["A"])
3031
nt.assert_true(isinstance(obj, A.Object))
3132

3233
# Test that A is reloaded.

0 commit comments

Comments
 (0)