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 da213fb commit 80640e3Copy full SHA for 80640e3
nbs/09_xdg.ipynb
@@ -301,7 +301,8 @@
301
"metadata": {},
302
"outputs": [],
303
"source": [
304
- "assert xdg_runtime_dir() is None or xdg_runtime_dir().startswith('/run/user/')\n",
+ "assert (xdg_runtime_dir() is None # macos\n",
305
+ " or xdg_runtime_dir().parent == Path('/run/user/')) # ubuntu\n",
306
"with env('XDG_RUNTIME_DIR', '/home/fastai/.data'):\n",
307
" test_eq(xdg_runtime_dir(), Path('/home/fastai/.data'))"
308
]
0 commit comments