code: def test_mkdocs_newer(self, mock_popeno):
      mock_popeno().communicate.return_value = (
          b"Deployed 12345678 with MkDocs version: 0.1.2\n",
          b"",
      )
  
      with self.assertLogs("mkdocs") as cm:
          gh_deploy._check_version("gh-pages")
      self.assertEqual(
          "\n".join(cm.output),
          f"INFO:mkdocs.commands.gh_deploy:Previous deployment was done with MkDocs "
          f"version 0.1.2; you are deploying with a newer version ({__version__})",
      )
  
imports: import unittest
  from unittest import mock
  from ghp_import import GhpError
  from mkdocs import __version__
  from mkdocs.commands import gh_deploy
  from mkdocs.exceptions import Abort
  from mkdocs.tests.base import load_config
label_desc: Use image node_id 1 for calling the TestGitHubDeployLogs obj's underlying member method code with example usage: obj.test_mkdocs_newer(mock_popeno) without return types