Export to GitHub

pymox - issue #8

inspect is not imported into stubout.py


Posted on Mar 25, 2009 by Happy Hippo

What steps will reproduce the problem? 1. import stubout into a test module 2. invoke StubOutForTesting.SmartSet 3. run the test

What is the expected output? What do you see instead? The test should succeed, it fails with a stack trace ending in: File ".../lib/python2.4/site-packages/stubout.py", line 59, in SmartSet if (inspect.ismodule(obj) or NameError: global name 'inspect' is not defined

What version of the product are you using? On what operating system? 0.5.0 on Linux

Please provide any additional information below.

Comment #1

Posted on May 5, 2009 by Massive Panda

Fixed in version 24.

Status: Fixed

Labels:
Type-Defect Priority-Medium