No more need to alter sys.path in each and every render_layer unit test.
I tried the clean way, by setting the PYTHONPATH environment variable for CTest, using SET (CTEST_ENVIRONMENT blablab), but that didn't seem to work.
This commit is contained in:
@@ -6,7 +6,6 @@ import unittest
|
||||
import os
|
||||
import sys
|
||||
|
||||
sys.path.append(os.path.dirname(__file__))
|
||||
from render_layer_common import *
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user