[py-svn] commit/pytest: hpk42: mention pep302 in docstring

Bitbucket commits-noreply at bitbucket.org
Sat Jun 16 10:14:58 CEST 2012


1 new commit in pytest:


https://bitbucket.org/hpk42/pytest/changeset/6821b39204a3/
changeset:   6821b39204a3
user:        hpk42
date:        2012-06-16 10:14:52
summary:     mention pep302 in docstring
affected #:  1 file

diff -r eabc28a991bb3675fb06c1a7318537338886fcc2 -r 6821b39204a30739807058e209efc566274b91be _pytest/assertion/rewrite.py
--- a/_pytest/assertion/rewrite.py
+++ b/_pytest/assertion/rewrite.py
@@ -40,7 +40,7 @@
 REWRITE_NEWLINES = sys.version_info[:2] != (2, 7) and sys.version_info < (3, 2)
 
 class AssertionRewritingHook(object):
-    """Import hook which rewrites asserts."""
+    """PEP302 Import hook which rewrites asserts."""
 
     def __init__(self):
         self.session = None

Repository URL: https://bitbucket.org/hpk42/pytest/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.



More information about the pytest-commit mailing list