Co-authored-by: Anthony Wu <pls-file-gh-issue@users.noreply.github.com> Co-authored-by: filipstrand <strand.filip@gmail.com>
13 lines
272 B
Python
13 lines
272 B
Python
import mlx.core as mx
|
|
import pytest
|
|
|
|
from mflux.schedulers.base_scheduler import BaseScheduler
|
|
|
|
|
|
def test_base_scheduler_is_abstract():
|
|
"""
|
|
Test that BaseScheduler cannot be instantiated directly.
|
|
"""
|
|
with pytest.raises(TypeError):
|
|
BaseScheduler()
|