permit execution of tests with optimization set
- all tests except object tests now run with PYTHONOPTIMIZE=2
This commit is contained in:
parent
6b3ea8b251
commit
b995cbf71e
4 changed files with 16 additions and 0 deletions
|
|
@ -257,6 +257,11 @@ t_obj="
|
|||
"
|
||||
f_obj='Data object tests completed'
|
||||
|
||||
[ "$PYTHONOPTIMIZE" ] && {
|
||||
echo -e "${YELLOW}PYTHONOPTIMIZE set, skipping object tests$RESET"
|
||||
t_obj_skip='-'
|
||||
}
|
||||
|
||||
i_color='Color'
|
||||
s_color='Testing terminal colors'
|
||||
t_color="- $colortest_py"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue