Skip to content

Commit

Permalink
Fixing a few typos
Browse files Browse the repository at this point in the history
  • Loading branch information
kratman committed Sep 28, 2023
1 parent 3a75c16 commit 10c7270
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/unit/test_expression_tree/test_symbol.py
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ def test_symbol_repr(self):
)

def test_symbol_visualise(self):
with TemporaryDirectory as dir_name:
with TemporaryDirectory() as dir_name:
test_stub = os.path.join(dir_name, "test_visualize")
test_name = f"{test_stub}.png"
c = pybamm.Variable("c", "negative electrode")
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/test_parameters/test_lithium_ion_parameters.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

class TestLithiumIonParameterValues(TestCase):
def test_print_parameters(self):
with TemporaryDirectory as dir_name:
with TemporaryDirectory() as dir_name:
parameters = pybamm.LithiumIonParameters()
parameter_values = pybamm.lithium_ion.BaseModel().default_parameter_values
output_file = os.path.join(dir_name, "lithium_ion_parameters.txt")
Expand Down

0 comments on commit 10c7270

Please sign in to comment.