Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion data_masking.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
# Re-exports from masking package for backward compatibility
# ============================================================================

__version__ = "2.6.1"
__version__ = "2.6.2"

from masking.constants import (
__version__, __author__, __contact__, __phone__, __license__, __year__,
Expand Down
2 changes: 1 addition & 1 deletion masking/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
# ============================================================================
# МЕТАДАНІ
# ============================================================================
__version__ = "2.6.1"
__version__ = "2.6.2"
__author__ = "Vladyslav V. Prodan"
__contact__ = "github.com/click0"
__phone__ = "+38(099)6053340"
Expand Down
6 changes: 6 additions & 0 deletions tests/test_masking_logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,9 @@ def test_file_logging(self):
content = f.read()
assert "file test message" in content
finally:
for handler in ml.logger.handlers[:]:
handler.close()
ml.logger.removeHandler(handler)
os.unlink(log_path)

def test_stats_tracking(self):
Expand Down Expand Up @@ -159,4 +162,7 @@ def test_setup_with_file(self):
logger = setup_logging(level="INFO", log_file=log_path)
assert logger is not None
finally:
for handler in logger.logger.handlers[:]:
handler.close()
logger.logger.removeHandler(handler)
os.unlink(log_path)
2 changes: 1 addition & 1 deletion unmasking/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
# ============================================================================
# МЕТАДАНІ
# ============================================================================
__version__ = "2.6.1"
__version__ = "2.6.2"


def main():
Expand Down
Loading