Skip to content

Commit

Permalink
Fix test_report_gives_package_version on Python 3.11+
Browse files Browse the repository at this point in the history
  • Loading branch information
musicinmybrain committed Jan 28, 2023
1 parent 57021da commit c15e43d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyct/tests/test_report.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ class TestModule:
__version__ = "1.9.3"
__file__ = "/mock/opt/anaconda3/envs/pyct/lib/python3.7/site-packages/param/__init__.py"

@patch("builtins.print")
@patch("importlib.import_module")
@patch("builtins.print")
def test_report_gives_package_version(mock_import_module, mock_print):
module = TestModule()
mock_import_module.return_value = module
Expand Down

0 comments on commit c15e43d

Please sign in to comment.