summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/test_ray_intersection.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_ray_intersection.py b/test/test_ray_intersection.py
index 7d0c53c..ce364e0 100644
--- a/test/test_ray_intersection.py
+++ b/test/test_ray_intersection.py
@@ -15,7 +15,7 @@ class TestRayIntersection(unittest.TestCase):
self.pos_gpu = ga.to_gpu(chroma.gpu.to_float3(pos))
self.dir_gpu = ga.to_gpu(chroma.gpu.to_float3(dir))
- testdir = os.path.dirname(os.path.abspath(chroma.tests.__file__))
+ testdir = os.path.dirname(os.path.abspath(__file__))
self.dx_standard = np.load(os.path.join(testdir,
'data/ray_intersection.npz'))
def test_intersection_distance(self):