File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1578,7 +1578,7 @@ def test_relative_paths():
15781578 with tempfile .TemporaryDirectory () as tmp :
15791579 data_path = Path (tmp , "data/myfile.dat" )
15801580
1581- assert RATapi .project .try_relative_to (data_path , tmp ) == "data/myfile.dat"
1581+ assert Path ( RATapi .project .try_relative_to (data_path , tmp )) == Path ( "data/myfile.dat" )
15821582
15831583
15841584def test_relative_paths_warning ():
@@ -1593,4 +1593,4 @@ def test_relative_paths_warning():
15931593 "If you would like to share your project, make sure your custom files "
15941594 "are in a subfolder of the project save location." ,
15951595 ):
1596- assert RATapi .project .try_relative_to (data_path , relative_path ) == "/tmp/project/data/mydata.dat"
1596+ assert Path ( RATapi .project .try_relative_to (data_path , relative_path )) == Path ( "/tmp/project/data/mydata.dat" )
You can’t perform that action at this time.
0 commit comments