New submission from Martin Panter:

This patch is to avoid the warning introduced with the changes in Issue 15745, 
originally described at <https://bugs.python.org/issue15745#msg245455>. The 
code has a “with” statement to hide the warning from os.stat_float_times(), but 
the warning triggers anyway because the TestCase.addCleanup() callback is 
triggered after the “with” statement has exited.

----------
components: Tests
files: stat-times-deprecated.patch
keywords: patch
messages: 246995
nosy: haypo, vadmium
priority: normal
severity: normal
stage: patch review
status: open
title: Avoid DeprecationWarning in test_os
versions: Python 3.4, Python 3.5, Python 3.6
Added file: http://bugs.python.org/file39962/stat-times-deprecated.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue24675>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to