Skip to content

Commit 80640e3

Browse files
committed
typo
1 parent da213fb commit 80640e3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

nbs/09_xdg.ipynb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,8 @@
301301
"metadata": {},
302302
"outputs": [],
303303
"source": [
304-
"assert xdg_runtime_dir() is None or xdg_runtime_dir().startswith('/run/user/')\n",
304+
"assert (xdg_runtime_dir() is None # macos\n",
305+
" or xdg_runtime_dir().parent == Path('/run/user/')) # ubuntu\n",
305306
"with env('XDG_RUNTIME_DIR', '/home/fastai/.data'):\n",
306307
" test_eq(xdg_runtime_dir(), Path('/home/fastai/.data'))"
307308
]

0 commit comments

Comments
 (0)