Added test for PY-11337

This commit is contained in:
Dmitry Trofimov
2014-01-24 21:28:09 +01:00
parent e0e690c779
commit 0147c24bb2
3 changed files with 28 additions and 4 deletions
@@ -0,0 +1,10 @@
import logging
from nose.tools import assert_raises_regex
def _assert_stuff(i):
with assert_raises_regex(
logging.INFO,
'Did stuff to {} because of reasons that take up a whole line of text'.format(
i.relname)):
pass