tony
tony
MModular
Created by tony on 1/12/2025 in #questions
Issue when running `mojo test --debug`
Issue continues after upgrading magic from 0.6.1 to 0.6.2, shall I be creating a github issue for this? The shell commands I used to replicate:
Tonys-MacBook-Pro:Mojo tony$ magic init stable-project --format mojoproject
✔ Created /Users/tony/Projects/MINE/Mojo/stable-project/mojoproject.toml
✔ Added max >=24.6.0,<25
Tonys-MacBook-Pro:Mojo tony$ cd stable-project/
Tonys-MacBook-Pro:stable-project tony$ cat << 'EOF' > test_simple.mojo
from testing import assert_equal


fn test_command_str_with_no_description() raises:
var one = 1
assert_equal(one, 1)

EOF
Tonys-MacBook-Pro:stable-project tony$ magic run mojo test --debug
/Users/tony/Projects/MINE/Mojo/stable-project/.magic/envs/default/bin/mojo: error: File exists
Tonys-MacBook-Pro:stable-project tony$ magic run mojo --version
mojo 24.6.0 (4487cd6e)
Tonys-MacBook-Pro:stable-project tony$ magic --version
magic 0.6.2 - (based on pixi 0.40.0)
Tonys-MacBook-Pro:Mojo tony$ magic init stable-project --format mojoproject
✔ Created /Users/tony/Projects/MINE/Mojo/stable-project/mojoproject.toml
✔ Added max >=24.6.0,<25
Tonys-MacBook-Pro:Mojo tony$ cd stable-project/
Tonys-MacBook-Pro:stable-project tony$ cat << 'EOF' > test_simple.mojo
from testing import assert_equal


fn test_command_str_with_no_description() raises:
var one = 1
assert_equal(one, 1)

EOF
Tonys-MacBook-Pro:stable-project tony$ magic run mojo test --debug
/Users/tony/Projects/MINE/Mojo/stable-project/.magic/envs/default/bin/mojo: error: File exists
Tonys-MacBook-Pro:stable-project tony$ magic run mojo --version
mojo 24.6.0 (4487cd6e)
Tonys-MacBook-Pro:stable-project tony$ magic --version
magic 0.6.2 - (based on pixi 0.40.0)
5 replies