commit | 5312a7f912088361e2a1fccd5daeaa9dc4ff5fd3 | [log] [tgz] |
---|---|---|
author | Serhiy Storchaka <storchaka@gmail.com> | Sat Jan 31 11:27:06 2015 +0200 |
committer | Serhiy Storchaka <storchaka@gmail.com> | Sat Jan 31 11:27:06 2015 +0200 |
tree | 48d4a3f45af918d461fa46ed3015e6ff652f61cb | |
parent | 7ece150395f9908870c3baa883e465ec9fe4dd9c [diff] [blame] |
Avoid deprecation warnings.
diff --git a/Lib/test/test_descr.py b/Lib/test/test_descr.py index 9d62779..0ac458f 100644 --- a/Lib/test/test_descr.py +++ b/Lib/test/test_descr.py
@@ -2066,7 +2066,7 @@ "attr on a property" % attr) class D(object): - __getitem__ = property(lambda s: 1/0) + __getitem__ = property(lambda s: 1.0/0.0) d = D() try: