diff --git a/tests/utils/test_save.ipynb b/tests/utils/test_save.ipynb index b6c97dc8..68ccf781 100644 --- a/tests/utils/test_save.ipynb +++ b/tests/utils/test_save.ipynb @@ -5,10 +5,10 @@ "execution_count": 1, "metadata": { "execution": { - "iopub.execute_input": "2023-07-13T20:04:23.425791Z", - "iopub.status.busy": "2023-07-13T20:04:23.425682Z", - "iopub.status.idle": "2023-07-13T20:04:23.436620Z", - "shell.execute_reply": "2023-07-13T20:04:23.436325Z" + "iopub.execute_input": "2023-02-13T14:11:29.261665Z", + "iopub.status.busy": "2023-02-13T14:11:29.261394Z", + "iopub.status.idle": "2023-02-13T14:11:29.267566Z", + "shell.execute_reply": "2023-02-13T14:11:29.266734Z" }, "pycharm": { "name": "#%%\n" @@ -17,10 +17,8 @@ "outputs": [], "source": [ "import numpy as np\n", - "import regex\n", "\n", - "def use_modules():\n", - " regex.split(' ', 'brown fox')\n", + "def func(data):\n", " return bool(np.all([True]))\n" ] }, @@ -29,12 +27,13 @@ "execution_count": 2, "metadata": { "execution": { - "iopub.execute_input": "2023-07-13T20:04:23.438339Z", - "iopub.status.busy": "2023-07-13T20:04:23.438249Z", - "iopub.status.idle": "2023-07-13T20:04:24.532574Z", - "shell.execute_reply": "2023-07-13T20:04:24.532277Z" + "iopub.execute_input": "2023-02-13T14:11:29.270506Z", + "iopub.status.busy": "2023-02-13T14:11:29.270233Z", + "iopub.status.idle": "2023-02-13T14:11:29.969468Z", + "shell.execute_reply": "2023-02-13T14:11:29.968705Z" }, "pycharm": { + "is_executing": true, "name": "#%%\n" } }, @@ -43,17 +42,16 @@ "name": "stdout", "output_type": "stream", "text": [ - "regex==2023.6.3\n", - "numpy==1.25.1\n" + "numpy==1.22.4\n" ] } ], "source": [ "from mlem.utils.module import get_object_requirements\n", "\n", - "res = get_object_requirements(use_modules)\n", + "res = get_object_requirements(func)\n", "\n", - "print(\"\\n\".join(res.to_pip()))" + "print(\" \".join(res.to_pip()))" ] } ], @@ -73,9 +71,9 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.10.9" + "version": "3.9.13" } }, "nbformat": 4, "nbformat_minor": 0 -} \ No newline at end of file +}