It appears that passing anything for “refreshTest” into RunTimeInfo() is ignored and replaced with refreshTest=grating if no window is supplied.
from psychopy.info import RunTimeInfo r = RunTimeInfo(refreshTest=None)
Should run without the refresh test, but instead the grating test is run. However, if a window is created first and passed in:
from psychopy.info import RunTimeInfo from psychopy.visual import Window w = Window() r = RunTimeInfo(win=w, refreshTest=None)
Then the new window is created, and no refresh test is performed.
I believe this line is forcing the refreshTest to “grating” regardless of the passed in option: https://github.com/psychopy/versions/blob/e42533798a74c3a06452bdb2c7643120c6e5109a/psychopy/info.py#L141
Is there a reason a grating test is forced if no window is specified? Seems like the option should be honoured, or at least the documentation be updated to note this behaviour.
Using PsychoPy 1.90.1 on Windows 10