File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 170170 " return p"
171171 ]
172172 },
173+ {
174+ "cell_type" : " markdown" ,
175+ "id" : " 6d3ba750" ,
176+ "metadata" : {},
177+ "source" : [
178+ " You can add valid paths here:"
179+ ]
180+ },
181+ {
182+ "cell_type" : " code" ,
183+ "execution_count" : null ,
184+ "id" : " 26af784b" ,
185+ "metadata" : {},
186+ "outputs" : [
187+ {
188+ "name" : " stdout" ,
189+ "output_type" : " stream" ,
190+ "text" : [
191+ " /Users/jhoward/.config/fc_tools_paths\n "
192+ ]
193+ }
194+ ],
195+ "source" : [
196+ " print(xdg_config_home() / 'fc_tools_paths')"
197+ ]
198+ },
173199 {
174200 "cell_type" : " code" ,
175201 "execution_count" : null ,
180206 " assert valid_path('.')\n " ,
181207 " assert valid_path('/tmp')\n " ,
182208 " \n " ,
183- " test_fail(lambda: valid_path('..'), exc=PermissionError)"
209+ " test_fail(lambda: valid_path('../../.. '), exc=PermissionError)"
184210 ]
185211 },
186212 {
You can’t perform that action at this time.
0 commit comments