##// END OF EJS Templates
Merge pull request #6230 from takluyver/ks-test-check-usr-local...
Min RK -
r17452:b776ff80 merge
parent child Browse files
Show More
@@ -57,7 +57,7 class KernelSpecTests(unittest.TestCase):
57 kernel_name='tstinstalled',
57 kernel_name='tstinstalled',
58 replace=True)
58 replace=True)
59
59
60 @onlyif(os.name != 'nt' and not os.access('/usr/share', os.W_OK), "needs Unix system without root privileges")
60 @onlyif(os.name != 'nt' and not os.access('/usr/local/share', os.W_OK), "needs Unix system without root privileges")
61 def test_cant_install_kernel_spec(self):
61 def test_cant_install_kernel_spec(self):
62 with self.assertRaises(OSError):
62 with self.assertRaises(OSError):
63 self.ksm.install_kernel_spec(self.installable_kernel,
63 self.ksm.install_kernel_spec(self.installable_kernel,
General Comments 0
You need to be logged in to leave comments. Login now