[Python-checkins] r50542 - python/trunk/Lib/test/test_inspect.py
tim.peters
python-checkins at python.org
Mon Jul 10 23:11:50 CEST 2006
Author: tim.peters
Date: Mon Jul 10 23:11:49 2006
New Revision: 50542
Modified:
python/trunk/Lib/test/test_inspect.py
Log:
Whitespace normalization.
Modified: python/trunk/Lib/test/test_inspect.py
==============================================================================
--- python/trunk/Lib/test/test_inspect.py (original)
+++ python/trunk/Lib/test/test_inspect.py Mon Jul 10 23:11:49 2006
@@ -182,7 +182,7 @@
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>')
More information about the Python-checkins
mailing list