1 new commit in pytest:

https://bitbucket.org/hpk42/pytest/commits/705c35908c83/
Changeset:   705c35908c83
User:        gutworth
Date:        2013-05-27 23:04:53
Summary:     use __dict__ not func_dict for Python 3 compatibility
Affected #:  1 file

diff -r 5ce621f0b3d2857ce7035b765cd18836ec8ea73f -r 
705c35908c8351c5f30977553f7af48ea3b578fa _pytest/mark.py
--- a/_pytest/mark.py
+++ b/_pytest/mark.py
@@ -138,7 +138,7 @@
         mapped_names.add(name)
 
     # Add the names attached to the current function through direct assignment
-    for name in colitem.function.func_dict:
+    for name in colitem.function.__dict__:
         mapped_names.add(name)
 
     return eval(keywordexpr, {}, KeywordMapping(mapped_names))

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.
_______________________________________________
pytest-commit mailing list
pytest-commit@python.org
http://mail.python.org/mailman/listinfo/pytest-commit

Reply via email to