Skip to content

Commit ed03aa7

Browse files
committed
Skip skills test for 3.12
1 parent 046dc6f commit ed03aa7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/test_interpreter.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,9 @@ def test_skills():
5454
# skills_path = '/01OS/server/skills'
5555
# interpreter.computer.skills.path = skills_path
5656
print(interpreter.computer.skills.path)
57-
for file in os.listdir(interpreter.computer.skills.path):
58-
os.remove(os.path.join(interpreter.computer.skills.path, file))
57+
if os.path.exists(interpreter.computer.skills.path):
58+
for file in os.listdir(interpreter.computer.skills.path):
59+
os.remove(os.path.join(interpreter.computer.skills.path, file))
5960
print("Path: ", interpreter.computer.skills.path)
6061
print("Files in the path: ")
6162
interpreter.computer.run("python", "def testing_skilsl():\n print('hi')")

0 commit comments

Comments
 (0)