Not when it's referentially transparent. In that case, there's no need to run the tests if a function or its children haven't changed. Of course, in that's the case, the tests are probably fast enough that running then won't matter much.
That's not the only kind of way in which real hardware falls short of the theoretical. I've been burned by this at least a half dozen times in my career.