Skip to content

Commit

Permalink
Improve robustness of path manipulation in test_renders.py
Browse files Browse the repository at this point in the history
  • Loading branch information
dvicini committed Mar 2, 2023
1 parent 2c16614 commit 50e1fc4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/render/tests/test_renders.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,7 @@ def list_all_render_test_configs():
continue
if is_polarized and any(ex in scene_fname for ex in POLARIZED_EXCLUDE_FOLDERS):
continue

scene_integrator_type = scene_fname.split('.')[0].rsplit('_', 1)[-1]
scene_integrator_type = os.path.splitext(scene_fname)[0].rsplit('_', 1)[-1]

if not is_jit:
configs.append((variant, scene_fname, scene_integrator_type, 'scalar'))
Expand Down

0 comments on commit 50e1fc4

Please sign in to comment.