We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b16880 commit da213fbCopy full SHA for da213fb
nbs/09_xdg.ipynb
@@ -301,7 +301,7 @@
301
"metadata": {},
302
"outputs": [],
303
"source": [
304
- "test_is(xdg_runtime_dir(), None)\n",
+ "assert xdg_runtime_dir() is None or xdg_runtime_dir().startswith('/run/user/')\n",
305
"with env('XDG_RUNTIME_DIR', '/home/fastai/.data'):\n",
306
" test_eq(xdg_runtime_dir(), Path('/home/fastai/.data'))"
307
]
0 commit comments