From 35c6927cc13aceef90fe5dba7eceae28bde50045 Mon Sep 17 00:00:00 2001 From: cclauss Date: Mon, 11 Jun 2018 23:17:46 +0200 Subject: [PATCH] import inspect (#3507) Inspect is used five times on line 65-74 without being imported. --- python/stubout.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/python/stubout.py b/python/stubout.py index aee4f2da2..ba391045b 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.