Skip to content

Commit 4d91732

Browse files
committed
fix test case
1 parent 703ddb4 commit 4d91732

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nes_py/tests/test_nes_env.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def test(self):
9191
# check each output
9292
state, reward, done, info = output
9393
self.assertIsInstance(state, np.ndarray)
94-
self.assertIsInstance(reward, int)
94+
self.assertIsInstance(reward, float)
9595
self.assertIsInstance(done, bool)
9696
self.assertIsInstance(info, dict)
9797
# check the render output

0 commit comments

Comments
 (0)