summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_warnings.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_warnings.py b/Lib/test/test_warnings.py
index 9cd3c30..9e375e0 100644
--- a/Lib/test/test_warnings.py
+++ b/Lib/test/test_warnings.py
@@ -8,7 +8,7 @@ _filters = []
_showwarning = None
def showwarning(message, category, filename, lineno, file=None):
- i = filename.find("Lib/")
+ i = filename.find("Lib")
filename = filename[i:]
print "%s:%s: %s: %s" % (filename, lineno, category.__name__, message)