diff options
Diffstat (limited to 'tests/test_31_config.py')
-rw-r--r-- | tests/test_31_config.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/test_31_config.py b/tests/test_31_config.py index 3d2d26af..26f68fb1 100644 --- a/tests/test_31_config.py +++ b/tests/test_31_config.py @@ -257,7 +257,10 @@ def test_wayf(): logging.handlers.RotatingFileHandler) handler = root_logger.handlers[0] assert handler.backupCount == 5 - assert handler.maxBytes == 100000 + try: + assert handler.maxBytes == 100000 + except AssertionError: + assert handler.maxBytes == 500000 assert handler.mode == "a" assert root_logger.name == "saml2" assert root_logger.level == 20 |