Skip to content

Commit 67e5990

Browse files
forgot to delete env. variable behavior
1 parent 09bf240 commit 67e5990

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

src/PyMca5/PyMcaGui/pymca/PyMcaMain.py

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1850,22 +1850,6 @@ def mousePressEvent(self,event):
18501850
if PROFILING:
18511851
import profile
18521852
import pstats
1853-
1854-
# --- TEST MODE for CI or debugging frozen build ---
1855-
if os.getenv('PYMCA_TEST_MODE', '').lower() in ('1', 'true', 'yes'):
1856-
try:
1857-
from PyMca5.tests import TestAll
1858-
print("Running in TEST MODE (from frozen binary)...")
1859-
result = TestAll.main()
1860-
exit_code = 0 if result.wasSuccessful() else 1
1861-
print('exit code: ', exit_code)
1862-
sys.exit(exit_code)
1863-
except Exception as e:
1864-
import traceback
1865-
print("Failed to run tests from frozen binary:", e)
1866-
traceback.print_exc()
1867-
sys.exit(1)
1868-
18691853
PyMcaMainWidgetInstance = PyMcaMain(**keywords)
18701854
if nativeFileDialogs is not None:
18711855
PyMcaDirs.nativeFileDialogs = nativeFileDialogs

0 commit comments

Comments
 (0)