Skip to content

Commit

Permalink
Take parent dir as default in vectorized environment test.
Browse files Browse the repository at this point in the history
  • Loading branch information
javiarrobas committed May 10, 2024
1 parent d7bc357 commit 3ca1cee
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion testing/test_boptestGymEnv.py
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,8 @@ def setUp(self):
the terminal when invoking this test.
'''

boptest_root = "./"
# Take parent directory as default
boptest_root = os.path.dirname(os.path.abspath(__file__))

# Get the argument from command line when use Linux
if len(sys.argv) >= 2:
Expand Down

0 comments on commit 3ca1cee

Please sign in to comment.