diff --git a/tests/test_twitter.py b/tests/test_twitter.py
index <HASH>..<HASH> 100644
--- a/tests/test_twitter.py
+++ b/tests/test_twitter.py
@@ -114,7 +114,7 @@ async def test_oauth2_bearer_token(oauth2_client):
 
 @oauth2_decorator
 async def test_oauth2_nonexisting_endpoint(oauth2_client):
-    with pytest.raises(exceptions.DoesNotExist):
+    with pytest.raises(exceptions.HTTPNotFound):
         await oauth2_client.api.whereismytweet.get()
tests: expect HTTPNotFound on nonexisting endpoint (?)

it seems to happen consistently and doesn't matter that much I suppose