コード例 #1
0
 def test_win(self):
     # test if default_dir for Windows platform is accessible
     #
     # since default_dir_win() does not have any Windows specific code,
     # let's test it everywhere
     d = catalog.default_dir_win()
     assert_(catalog.is_writable(d))
コード例 #2
0
ファイル: test_catalog.py プロジェクト: 1641731459/scipy
 def test_win(self):
     # test if default_dir for Windows platform is accessible
     #
     # since default_dir_win() does not have any Windows specific code,
     # let's test it everywhere
     d = catalog.default_dir_win()
     assert_(catalog.is_writable(d))
コード例 #3
0
 def test_posix(self):
     # test if posix default_dir is writable
     d = catalog.default_dir_posix()
     assert_(catalog.is_writable(d))
コード例 #4
0
ファイル: test_catalog.py プロジェクト: 1641731459/scipy
 def test_posix(self):
     # test if posix default_dir is writable
     d = catalog.default_dir_posix()
     assert_(catalog.is_writable(d))