It doesn't work, the same happens. I think that I found a really big bug.
See image:
https://ibb.co/n6nVbMH
I'm using the micropython:
MicroPython v1.14 on 2021-02-02; ESP32 module with ESP32 and the output used is the GPIO22. This output is not connected to anything, only one cable to the oscilloscope. (I tried with other outputs, like GPIO23, the same happens)
This can cause multiple hardware failures if the developer doesn't know it. Usually, when you configure a GPIO as a output, the hardware must init the output to '0' (GND), but the problem of this bug is that it doesn't matter if you configure the GPIO as an INPUT or OUTPUT, or OPEN DRAIN or whatever, once configured, the GPIO do this transition.
I'm new on micropython, so i don't know how to contact to the micropython TEAM in order to fix it. I think that this is critical.