MarkBerlin78 / pymox

Automatically exported from code.google.com/p/pymox
Apache License 2.0
0 stars 0 forks source link

inspect is not imported into stubout.py #8

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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.

Original issue reported on code.google.com by vij.me...@gmail.com on 25 Mar 2009 at 9:30

GoogleCodeExporter commented 9 years ago
Fixed in version 24.

Original comment by smidd...@gmail.com on 5 May 2009 at 11:07