Skip to content

Commit 1b2e908

Browse files
committed
MAINT
1 parent 191f4d2 commit 1b2e908

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_context_selector.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def test_roundrobin_selector_init(self):
3636
env = CARLPendulum(
3737
contexts=contexts, context_selector=RoundRobinSelector(contexts=contexts)
3838
)
39-
self.assertEqual(type(env.context_selector), RoundRobinSelector)
39+
assert isinstance(env.context_selector, RoundRobinSelector)
4040

4141
def test_random_selector_init(self):
4242
from carl.context.selection import RandomSelector

0 commit comments

Comments
 (0)