File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 33module IRubyTest
44 class JupyterDefaultKernelSpecDirectoryTest < TestBase
55 def setup
6- @kernel_spec = IRuby ::Jupyter . kernelspec_dir
6+ @kernelspec_dir = IRuby ::Jupyter . kernelspec_dir
77 end
88
99 def test_default_windows
1010 windows_only
1111 appdata = IRuby ::Jupyter . send :windows_user_appdata
12- assert_equal ( File . join ( appdata , 'jupyter/kernels' ) , @kernel_spec )
12+ assert_equal ( File . join ( appdata , 'jupyter/kernels' ) , @kernelspec_dir )
1313 end
1414
1515 def test_default_apple
1616 apple_only
17- assert_equal ( File . expand_path ( '~/Library/Jupyter/kernels' ) , @kernel_spec )
17+ assert_equal ( File . expand_path ( '~/Library/Jupyter/kernels' ) , @kernelspec_dir )
1818 end
1919
2020 def test_default_unix
2121 unix_only
2222 with_env ( 'XDG_DATA_HOME' => nil ) do
23- assert_equal ( File . expand_path ( '~/.local/share/jupyter/kernels' ) , @kernel_spec )
23+ assert_equal ( File . expand_path ( '~/.local/share/jupyter/kernels' ) , @kernelspec_dir )
2424 end
2525 end
2626 end
You can’t perform that action at this time.
0 commit comments