We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ead721f commit dd7643dCopy full SHA for dd7643d
tests/test_diffusion.py
@@ -77,10 +77,13 @@ def setUpClass(cls):
77
and not os.path.exists(os.path.join(script_dir, filename))
78
and os.path.isdir(os.path.join(f"{script_dir}/../examples", filename))
79
):
80
- os.symlink(
81
- os.path.join(f"{script_dir}/../examples", filename),
82
- os.path.join(script_dir, filename),
83
- )
+ try:
+ os.symlink(
+ os.path.join(f"{script_dir}/../examples", filename),
+ os.path.join(script_dir, filename),
84
+ )
85
+ except FileExistsError:
86
+ pass
87
88
for submission in submissions:
89
cls._write_command(submission, cls.out_f)
0 commit comments