Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
error from running locally
  • Loading branch information
jessLryan committed Nov 30, 2023
1 parent 8815e24 commit 142f024
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_components.py
Original file line number Diff line number Diff line change
Expand Up @@ -288,12 +288,12 @@ def test_add_network_with_time_inplace():
snapshots.append(f"{year}-01-01 00:00")

# intialise "first" network
network_added_to = components.Network()
network_added_to = pypsa.Network()
network_added_to.set_snapshots(snapshots)
buses_added_to = set()

# intialise "second" network
network_to_add = components.Network()
network_to_add = pypsa.Network()
network_to_add.set_snapshots(snapshots)
buses_to_add = set()

Expand Down

0 comments on commit 142f024

Please sign in to comment.