We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 191f4d2 commit 1b2e908Copy full SHA for 1b2e908
test/test_context_selector.py
@@ -36,7 +36,7 @@ def test_roundrobin_selector_init(self):
36
env = CARLPendulum(
37
contexts=contexts, context_selector=RoundRobinSelector(contexts=contexts)
38
)
39
- self.assertEqual(type(env.context_selector), RoundRobinSelector)
+ assert isinstance(env.context_selector, RoundRobinSelector)
40
41
def test_random_selector_init(self):
42
from carl.context.selection import RandomSelector
0 commit comments