Skip to content

Commit

Permalink
Merge pull request #57 from adrien-berchet/fix_win_tests
Browse files Browse the repository at this point in the history
Test: Fix Path for Windows
  • Loading branch information
alessandrofelder authored Mar 19, 2024
2 parents fee3b1d + 42a9945 commit 807177e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_neuron.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from pathlib import Path
from random import choice

import numpy as np
Expand Down Expand Up @@ -59,7 +60,7 @@ def test_empty_neuron(caplog):
file = sorted(listdir("tests/data"))[0]
neuron = Neuron(file, load_file=False)

assert str(neuron.data_file) == "tests/data/example1.swc"
assert str(neuron.data_file) == str(Path("tests/data/example1.swc"))

caplog.clear()
neuron.create_mesh()
Expand Down

0 comments on commit 807177e

Please sign in to comment.