Skip to content

Commit

Permalink
flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian-B committed Oct 9, 2023
1 parent 5d42218 commit 8fbbb56
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions spinnman/model/cpu_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ def get_status_string(self):
"""
if self.state == CPUState.RUN_TIME_EXCEPTION:
return (
f"{self._x}:{self._y}:{self._p} "
f"{self._x}:{self._y}:{self._p} "
f"(ph: {self._physical_cpu_id}) "
f"in state {self._state.name}:{self._run_time_error.name}\n"
f" r0={self._registers[0]}, r1={self._registers[1]}, "
Expand Down Expand Up @@ -371,4 +371,4 @@ def mock_info(x, y, p, physical_cpu_id, state):
cpu_data = (
registers, 0, 0, 0, 0, physical_cpu_id, state.value, 0, 0, 0, 0,
0, 0, 0, 0, time, application_name, iobuff_address, 0, 0, 0, 0, 0)
return CPUInfo(x, y, p, cpu_data)
return CPUInfo(x, y, p, cpu_data)
2 changes: 0 additions & 2 deletions spinnman/model/cpu_infos.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.

from spinnman.model.enums import CPUState


class CPUInfos(object):
"""
Expand Down
1 change: 1 addition & 0 deletions unittests/model_tests/test_cpu_infos.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,5 +61,6 @@ def test_cpu_infos(self):
" PSR=0, SP=0, LR=0\n")



if __name__ == '__main__':
unittest.main()

0 comments on commit 8fbbb56

Please sign in to comment.