From 7d2e10bd6921aed49d2ff6fe5335b010f1fec5fc Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 24 Jul 2024 16:43:41 +0000 Subject: [PATCH] **CI** Formatted code + Updated version number and documentation. [skip ci] --- dol/tests/test_dol_tools.py | 16 ++++++++-------- setup.cfg | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/dol/tests/test_dol_tools.py b/dol/tests/test_dol_tools.py index cdbaa6f2..cff00a67 100644 --- a/dol/tests/test_dol_tools.py +++ b/dol/tests/test_dol_tools.py @@ -77,35 +77,35 @@ def cache_this_method(self): # Test normal method assert obj.normal_method == 1 captured = capsys.readouterr() - assert "normal_method called" in captured.out + assert 'normal_method called' in captured.out assert obj.normal_method == 1 captured = capsys.readouterr() - assert "normal_method called" not in captured.out # Should not print again + assert 'normal_method called' not in captured.out # Should not print again # Test property method assert obj.property_method == 2 captured = capsys.readouterr() - assert "property_method called" in captured.out + assert 'property_method called' in captured.out assert obj.property_method == 2 captured = capsys.readouterr() - assert "property_method called" not in captured.out # Should not print again + assert 'property_method called' not in captured.out # Should not print again # Test cached_property method assert obj.cached_property_method == 3 captured = capsys.readouterr() - assert "cached_property_method called" in captured.out + assert 'cached_property_method called' in captured.out assert obj.cached_property_method == 3 captured = capsys.readouterr() - assert "cached_property_method called" not in captured.out # Should not print again + assert 'cached_property_method called' not in captured.out # Should not print again # Test cache_this method assert obj.cache_this_method == 4 captured = capsys.readouterr() - assert "cache_this_method called" in captured.out + assert 'cache_this_method called' in captured.out assert obj.cache_this_method == 4 captured = capsys.readouterr() - assert "cache_this_method called" not in captured.out # Should not print again + assert 'cache_this_method called' not in captured.out # Should not print again diff --git a/setup.cfg b/setup.cfg index 60c8e462..405f8714 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = dol -version = 0.2.50 +version = 0.2.51 url = https://github.com/i2mint/dol platforms = any description_file = README.md