Skip to content

Commit 64a5667

Browse files
tbaudieralexvergaragil
authored andcommitted
Be sure to avoid to test 085 is phsp is empty
1 parent 87ea5a6 commit 64a5667

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

opengate/tests/src/actors/test085_free_flight_phsp_1_ref_mt.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@
22
# -*- coding: utf-8 -*-
33

44
import gc
5-
import importlib.util as pkgutil
65
import os
7-
import shutil
6+
import sys
87
import time
98
from pathlib import Path
109

@@ -76,6 +75,7 @@
7675
print("The size of the file is low (B): " + str(size_file))
7776
print("Warning: maybe the file was not saved correctly, do not test it")
7877
utility.test_ok(True)
78+
sys.exit(0)
7979

8080
is_ok = utility.compare_root3(
8181
paths.output_ref / "phsp_sphere_ref.root",

0 commit comments

Comments
 (0)