
from __future__ import division, unicode_literals

import logging

LOGGER = logging.getLogger('weasyprint')
LOGGER.addHandler(logging.NullHandler())


from __future__ import division, unicode_literals

import logging

LOGGER = logging.getLogger('weasyprint')
LOGGER.setLevel(logging.WARNING)
LOGGER.addHandler(logging.NullHandler())

Set default logging level to WARNING
Set default logging level to WARNING

Fixes tests with pytest 3.3.0+

  
  from __future__ import division, unicode_literals
  
  import logging
  
  LOGGER = logging.getLogger('weasyprint')
+ LOGGER.setLevel(logging.WARNING)
  LOGGER.addHandler(logging.NullHandler())
  
Set default logging level to WARNING
## Code Before:

from __future__ import division, unicode_literals

import logging

LOGGER = logging.getLogger('weasyprint')
LOGGER.addHandler(logging.NullHandler())

## Instruction:
Set default logging level to WARNING
## Code After:

from __future__ import division, unicode_literals

import logging

LOGGER = logging.getLogger('weasyprint')
LOGGER.setLevel(logging.WARNING)
LOGGER.addHandler(logging.NullHandler())
