code: def test_movielens_load() -> None:
      g, edges_with_ratings = MovieLens().load()
  
      n_users = 943
      n_movies = 1682
      n_ratings = 100000
  
      assert g.number_of_nodes() == n_users + n_movies
      assert g.number_of_edges() == n_ratings
  
      assert len(g.nodes(node_type="user")) == n_users
      assert len(g.nodes(node_type="movie")) == n_movies
  
      assert len(edges_with_ratings) == n_ratings
      assert list(edges_with_ratings.columns) == [
          "user_id",
          "movie_id",
          "rating",
      ]
  
imports: import pytest
  import tempfile
  import os
  import sys
  import numpy
  from stellargraph.datasets import *
  from urllib.error import URLError
  from stellargraph.datasets.dataset_loader import DatasetLoader
  from urllib.request import urlretrieve
  from unittest.mock import patch
label_desc: Use image node_id 10 for calling a global function with example usage: test_movielens_load() without return types