commit | 35c6927cc13aceef90fe5dba7eceae28bde50045 | [log] [tgz] |
---|---|---|
author | cclauss <cclauss@bluewin.ch> | Mon Jun 11 23:17:46 2018 +0200 |
committer | Jie Luo <anandolee@gmail.com> | Mon Jun 11 14:17:46 2018 -0700 |
tree | a68e88f6fc96b9110db76049d142b903b80f3bfc | |
parent | a0e82dbe569552ac848d088391b63aaa1108d1a3 [diff] [blame] |
import inspect (#3507) Inspect is used five times on line 65-74 without being imported.
diff --git a/python/stubout.py b/python/stubout.py index aee4f2d..ba39104 100755 --- a/python/stubout.py +++ b/python/stubout.py
@@ -17,6 +17,9 @@ # This file is used for testing. The original is at: # http://code.google.com/p/pymox/ +import inspect + + class StubOutForTesting: """Sample Usage: You want os.path.exists() to always return true during testing.