Skip to content

Commit da213fb

Browse files
committed
fix ubuntu test
1 parent 3b16880 commit da213fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nbs/09_xdg.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@
301301
"metadata": {},
302302
"outputs": [],
303303
"source": [
304-
"test_is(xdg_runtime_dir(), None)\n",
304+
"assert xdg_runtime_dir() is None or xdg_runtime_dir().startswith('/run/user/')\n",
305305
"with env('XDG_RUNTIME_DIR', '/home/fastai/.data'):\n",
306306
" test_eq(xdg_runtime_dir(), Path('/home/fastai/.data'))"
307307
]

0 commit comments

Comments
 (0)