Fix a few last paths for the new repo org (#8666)

This commit is contained in:
Sylvain Gugger
2020-11-19 11:56:42 -05:00
committed by GitHub
parent a79a96ddaa
commit cb3e5c33f7
5 changed files with 10 additions and 6 deletions

View File

@@ -1055,7 +1055,7 @@ If you need to validate the output of a logger, you can use :obj:`CaptureLogger`
msg = "Testing 1, 2, 3"
logging.set_verbosity_info()
logger = logging.get_logger("transformers.tokenization_bart")
logger = logging.get_logger("transformers.models.bart.tokenization_bart")
with CaptureLogger(logger) as cl:
logger.info(msg)
assert cl.out, msg+"\n"