commit | 09f55767b172b856106ae8469cb3295d9777ac9b | [log] [tgz] |
---|---|---|
author | Martí Bolívar <marti.bolivar@nordicsemi.no> | Wed Apr 28 10:19:53 2021 -0700 |
committer | Maureen Helm <maureen.helm@nxp.com> | Mon May 03 09:55:33 2021 -0500 |
tree | f09a9a24bdf60ca591275603a57e9c650b27cf8b | |
parent | 80e5295dcae0ddf1cd4cc376922960a1fa2fc908 [diff] |
runners: tests: fix os.path.isfile patch Copy a fix from test_nrfjprog.py to the other runner test suites. The current code will enter an infinite recursion if you hit the path where os.path.isfile is called, since it's been patched to os_path_isfile_patch in the calling context. The fix is to cache the 'real' version in the parent scope and call it directly as a fallback. Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>