Skip to content

Commit

Permalink
temporarily removing flag check in unit test for system_metrics_monit…
Browse files Browse the repository at this point in the history
…or build
  • Loading branch information
JackZ-db committed Jun 7, 2024
1 parent 31c904b commit b9df1ed
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/callbacks/test_system_metrics_monitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,9 @@


def test_system_metrics_monitor_callback_builds():
kwargs = {'log_all_data': True}
callback = build_callback(
'system_metrics_monitor',
kwargs=kwargs,
kwargs={},
train_config={'train_loader': {}},
)
assert isinstance(callback, SystemMetricsMonitor)
assert getattr(callback, 'log_all_data', None) is True

0 comments on commit b9df1ed

Please sign in to comment.