Whitespace normalization.

This commit is contained in:
Tim Peters 2006-07-10 21:11:49 +00:00
parent 32a8361f2d
commit 722b88308d
1 changed files with 1 additions and 1 deletions

View File

@ -182,7 +182,7 @@ class TestRetrievingSourceCode(GetSourceBase):
from new import module
name = '__inspect_dummy'
m = sys.modules[name] = module(name)
m.__file__ = "<string>" # hopefully not a real filename...
m.__file__ = "<string>" # hopefully not a real filename...
m.__loader__ = "dummy" # pretend the filename is understood by a loader
exec "def x(): pass" in m.__dict__
self.assertEqual(inspect.getsourcefile(m.x.func_code), '<string>')