Skip to content

Commit

Permalink
Flake8...
Browse files Browse the repository at this point in the history
  • Loading branch information
eskildsf committed Dec 23, 2024
1 parent f3a49cf commit b5ab557
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions reloading/test_reloading.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def test_iterator_in_library(self):
def iterator():
return range(10)
""")
import temporary_library # type: ignore
import temporary_library # type: ignore
importlib.reload(temporary_library)

i = 0
Expand Down Expand Up @@ -205,7 +205,7 @@ def test_condition_in_library(self):
def condition(x):
return x < 10
""")
import temporary_library # type: ignore
import temporary_library # type: ignore
importlib.reload(temporary_library)

i = 0
Expand Down Expand Up @@ -297,7 +297,7 @@ def test_function_in_library(self):
def function_not_marked(x):
return x
""")
import temporary_library # type: ignore
import temporary_library # type: ignore
importlib.reload(temporary_library)
self.assertEqual(temporary_library.function_not_marked("7"), "7")
g = reloading(temporary_library.function_not_marked)
Expand All @@ -314,7 +314,7 @@ def test_reloading_function_in_library(self):
def function_marked(x):
return x
""")
import temporary_library # type: ignore
import temporary_library # type: ignore
importlib.reload(temporary_library)
self.assertEqual(temporary_library.function_marked("9"), "9")
if os.path.isfile("temporary_library.py"):
Expand Down

0 comments on commit b5ab557

Please sign in to comment.