hunk.code_window:     for a_name, action_space in ACTION_SPACES_TO_TEST.items():
           for o_name, obs_space in OBSERVATION_SPACES_TO_TEST.items():
               print("=== Testing {} A={} S={} ===".format(
                   alg, action_space, obs_space))
               stub_env = make_stub_env(action_space, obs_space, check_bounds)
               register_env("stub_env", lambda c: stub_env())
               stat = "ok"
               a = None
               try:
  
hunk.labels: keep keep replace replace keep keep keep keep keep
hunk.after_edit:             print("=== Testing {} (torch={}) A={} S={} ===".format(
                   alg, torch, action_space, obs_space))
  
hunk.file_path: rllib/tests/test_supported_spaces.py
hunk.type: replace
file: import Typography from "@material-ui/core/Typography";
  import React from "react";
  import { formatByteAmount } from "../../../../common/formatUtils";
  import {
    ClusterFeatureComponent,
    NodeFeatureComponent,
    WorkerFeatureComponent
  } from "./types";
  
  export const ClusterSent: ClusterFeatureComponent = ({ nodes }) => {
    let totalSent = 0;
    for (const node of nodes) {
      totalSent += node.net[0];
    }
    return (
      <React.Fragment>{formatByteAmount(totalSent, "mebibyte")}/s</React.Fragment>
    );
  };
  
  export const NodeSent: NodeFeatureComponent = ({ node }) => (
    <React.Fragment>{formatByteAmount(node.net[0], "mebibyte")}/s</React.Fragment>
  );
  
  export const WorkerSent: WorkerFeatureComponent = () => (
    <Typography color="textSecondary" component="span" variant="inherit">
      N/A
    </Typography>
  );
  