diff --git a/github3/github.py b/github3/github.py
index e575408b..4f5d0734 100644
--- a/github3/github.py
+++ b/github3/github.py
@@ -355,7 +355,10 @@ class GitHub(GitHubCore):
                 }
         """
         url = self._build_url('emojis')
-        return self._json(self._get(url), 200)
+        data = self._json(self._get(url), 200)
+        del data['ETag']
+        del data['Last-Modified']
+        return data
 
     @requires_basic_auth
     def feeds(self):

GitHub.emojis() return value contains ETag and Last-Modified entries
emojis() returns the return value of _json to the user, which then contains
confusing ETag and Last-Modified enttries, caused by commit 8c42a709. Not sure
how you want to fix it, but easiest would be to delete those entries in
emojis() before returning the result.
diff --git a/tests/integration/test_github.py b/tests/integration/test_github.py
index d27eb229..fe2726be 100644
--- a/tests/integration/test_github.py
+++ b/tests/integration/test_github.py
@@ -95,6 +95,15 @@ class TestGitHub(IntegrationHelper):
         # Asserts that it's a string and looks ilke the URLs we expect to see
         assert emojis['+1'].startswith('https://github')
 
+    def test_emojis_etag(self):
+        """Test the ability to retrieve from /emojis."""
+        cassette_name = self.cassette_name('emojis')
+        with self.recorder.use_cassette(cassette_name):
+            emojis = self.gh.emojis()
+
+        assert 'ETag' not in emojis
+        assert 'Last-Modified' not in emojis
+
     def test_feeds(self):
         """Test the ability to retrieve a user's timelime URLs."""
         self.basic_login()

pip install -e .[test]
parse_log_pytest
requirements.txt
pytest pytest-cov pytest-xdist pytest-mock pytest-asyncio
apt-get update apt-get install -y gcc
3.9
requirements.txt
pytest --no-header -rA --tb=line --color=no -p no:cacheprovider -W ignore::DeprecationWarning
betamax==0.9.0
betamax-matchers==0.4.0
certifi==2025.1.31
charset-normalizer==3.4.1
coverage==7.8.0
exceptiongroup==1.2.2
execnet==2.1.1
-e git+https://github.com/sigmavirus24/github3.py.git@47487d093c0cbe24b4219a7137bedaab6b882548#egg=github3.py
idna==3.10
iniconfig==2.1.0
packaging==24.2
pluggy==1.5.0
pytest==8.3.5
pytest-asyncio==0.26.0
pytest-cov==6.0.0
pytest-mock==3.14.0
pytest-xdist==3.6.1
requests==2.32.3
requests-toolbelt==1.0.0
tomli==2.2.1
typing_extensions==4.13.0
uritemplate==4.1.1
uritemplate.py==3.0.2
urllib3==2.3.0

name: github3.py
channels:
  - defaults
  - https://repo.anaconda.com/pkgs/main
  - https://repo.anaconda.com/pkgs/r
  - conda-forge
dependencies:
  - _libgcc_mutex=0.1=main
  - _openmp_mutex=5.1=1_gnu
  - ca-certificates=2025.2.25=h06a4308_0
  - ld_impl_linux-64=2.40=h12ee557_0
  - libffi=3.4.4=h6a678d5_1
  - libgcc-ng=11.2.0=h1234567_1
  - libgomp=11.2.0=h1234567_1
  - libstdcxx-ng=11.2.0=h1234567_1
  - ncurses=6.4=h6a678d5_0
  - openssl=3.0.16=h5eee18b_0
  - pip=25.0=py39h06a4308_0
  - python=3.9.21=he870216_1
  - readline=8.2=h5eee18b_0
  - setuptools=75.8.0=py39h06a4308_0
  - sqlite=3.45.3=h5eee18b_0
  - tk=8.6.14=h39e8969_0
  - tzdata=2025a=h04d1e81_0
  - wheel=0.45.1=py39h06a4308_0
  - xz=5.6.4=h5eee18b_1
  - zlib=1.2.13=h5eee18b_1
  - pip:
      - betamax==0.9.0
      - betamax-matchers==0.4.0
      - certifi==2025.1.31
      - charset-normalizer==3.4.1
      - coverage==7.8.0
      - exceptiongroup==1.2.2
      - execnet==2.1.1
      - idna==3.10
      - iniconfig==2.1.0
      - packaging==24.2
      - pluggy==1.5.0
      - pytest==8.3.5
      - pytest-asyncio==0.26.0
      - pytest-cov==6.0.0
      - pytest-mock==3.14.0
      - pytest-xdist==3.6.1
      - requests==2.32.3
      - requests-toolbelt==1.0.0
      - tomli==2.2.1
      - typing-extensions==4.13.0
      - uritemplate==4.1.1
      - uritemplate-py==3.0.2
      - urllib3==2.3.0
prefix: /opt/conda/envs/github3.py

tests/integration/test_github.py::TestGitHub::test_emojis_etag
tests/integration/test_github.py::TestGitHub::test_update_me
tests/integration/test_github.py::TestGitHub::test_all_events tests/integration/test_github.py::TestGitHub::test_all_organizations tests/integration/test_github.py::TestGitHub::test_all_repositories tests/integration/test_github.py::TestGitHub::test_all_users tests/integration/test_github.py::TestGitHub::test_authorize tests/integration/test_github.py::TestGitHub::test_create_gist tests/integration/test_github.py::TestGitHub::test_create_issue tests/integration/test_github.py::TestGitHub::test_create_key tests/integration/test_github.py::TestGitHub::test_create_repository tests/integration/test_github.py::TestGitHub::test_emojis tests/integration/test_github.py::TestGitHub::test_feeds tests/integration/test_github.py::TestGitHub::test_followers tests/integration/test_github.py::TestGitHub::test_followers_of tests/integration/test_github.py::TestGitHub::test_gist tests/integration/test_github.py::TestGitHub::test_gitignore_template tests/integration/test_github.py::TestGitHub::test_gitignore_templates tests/integration/test_github.py::TestGitHub::test_is_following tests/integration/test_github.py::TestGitHub::test_is_starred tests/integration/test_github.py::TestGitHub::test_issue tests/integration/test_github.py::TestGitHub::test_me tests/integration/test_github.py::TestGitHub::test_meta tests/integration/test_github.py::TestGitHub::test_non_existent_gitignore_template tests/integration/test_github.py::TestGitHub::test_notifications tests/integration/test_github.py::TestGitHub::test_notifications_all tests/integration/test_github.py::TestGitHub::test_octocat tests/integration/test_github.py::TestGitHub::test_organization tests/integration/test_github.py::TestGitHub::test_pull_request tests/integration/test_github.py::TestGitHub::test_rate_limit tests/integration/test_github.py::TestGitHub::test_repositories tests/integration/test_github.py::TestGitHub::test_repositories_by tests/integration/test_github.py::TestGitHub::test_repository tests/integration/test_github.py::TestGitHub::test_repository_with_id tests/integration/test_github.py::TestGitHub::test_search_code tests/integration/test_github.py::TestGitHub::test_search_code_with_text_match tests/integration/test_github.py::TestGitHub::test_search_issues tests/integration/test_github.py::TestGitHub::test_search_repositories tests/integration/test_github.py::TestGitHub::test_search_repositories_with_text_match tests/integration/test_github.py::TestGitHub::test_search_users tests/integration/test_github.py::TestGitHub::test_search_users_with_text_match tests/integration/test_github.py::TestGitHub::test_user tests/integration/test_github.py::TestGitHub::test_user_teams tests/integration/test_github.py::TestGitHub::test_user_with_id tests/integration/test_github.py::TestGitHub::test_zen
github3/github.py
github3/github.py