Seems like a gym version/custom wrapper problem defined in the library.
It’s calling the abstract class method that will raise this error here 5, so the error is expected.
The question is why is the method called? Can you show the code where the environment gets initialized, and where it calls reset(), i.e. snippet from your test.py.
U can also try this example of creating and calling the gym env methods that works:
import gym

env = gym.make('PongDeterministic-v4')
env.reset()