fix test_py3kwarns
The fact that this was failing and went unnoticed so long seems like a good argument for being able to enable and disble py3kwarnings through Python.
diff --git a/Lib/rfc822.py b/Lib/rfc822.py
index 4382a51..64cd702 100644
--- a/Lib/rfc822.py
+++ b/Lib/rfc822.py
@@ -74,7 +74,8 @@
import time
from warnings import warnpy3k
-warnpy3k("in 3.x, rfc822 has been removed in favor of the email package")
+warnpy3k("in 3.x, rfc822 has been removed in favor of the email package",
+ stacklevel=2)
__all__ = ["Message","AddressList","parsedate","parsedate_tz","mktime_tz"]