瀏覽代碼

Use xpython as kernelPreference

Jeremy Tuloup 5 年之前
父節點
當前提交
bb4ca06abd
共有 2 個文件被更改,包括 3 次插入4 次删除
  1. 2 0
      README.md
  2. 1 4
      tests/src/session.spec.ts

+ 2 - 0
README.md

@@ -41,6 +41,8 @@ XEUS_LOG=1 jupyter lab --no-browser --watch
 
 ### Tests
 
+Make sure `xeus-python` is installed and `jupyter --paths` points to where the kernel is installed.
+
 To run the tests:
 
 ```bash

+ 1 - 4
tests/src/session.spec.ts

@@ -12,10 +12,7 @@ describe('DebugSession', () => {
   beforeEach(async () => {
     client = await createClientSession({
       kernelPreference: {
-        name: 'python3', // TODO: replace by xpython
-        language: 'python',
-        shouldStart: true,
-        canStart: true
+        name: 'xpython'
       }
     });
     await (client as ClientSession).initialize();