Skip to content

Commit 064467e

Browse files
committed
fix test
1 parent c7bf7dc commit 064467e

File tree

2 files changed

+5
-13
lines changed

2 files changed

+5
-13
lines changed

nbdev/config.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -267,11 +267,6 @@ def show_src(src, lang='python'): return Markdown(f'```{lang}\n{src}\n```')
267267
268268
[tool.uv]
269269
cache-keys = [{ file = "pyproject.toml" }, { file = "setup.py" }]
270-
271-
[[tool.uv.index]]
272-
name = "pytorch-cpu"
273-
url = "https://download.pytorch.org/whl/cpu"
274-
explicit = true
275270
"""
276271

277272
# %% ../nbs/api/01_config.ipynb #f1c85f45

nbs/api/01_config.ipynb

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -655,11 +655,6 @@
655655
"\n",
656656
"[tool.uv]\n",
657657
"cache-keys = [{ file = \"pyproject.toml\" }, { file = \"setup.py\" }]\n",
658-
"\n",
659-
"[[tool.uv.index]]\n",
660-
"name = \"pytorch-cpu\"\n",
661-
"url = \"https://download.pytorch.org/whl/cpu\"\n",
662-
"explicit = true\n",
663658
"\"\"\""
664659
]
665660
},
@@ -834,8 +829,7 @@
834829
" update_proj(d)\n",
835830
"\n",
836831
" result = (d/_pyproj).read_text()\n",
837-
" assert 'name = \"testpkg\"' in result\n",
838-
" assert 'name = \"pytorch-cpu\"' in result, \"update_proj incorrectly modified the uv index name!\""
832+
" assert 'name = \"testpkg\"' in result"
839833
]
840834
},
841835
{
@@ -952,7 +946,10 @@
952946
]
953947
}
954948
],
955-
"metadata": {},
949+
"metadata": {
950+
"solveit_dialog_mode": "learning",
951+
"solveit_ver": 2
952+
},
956953
"nbformat": 4,
957954
"nbformat_minor": 5
958955
}

0 commit comments

Comments
 (0)