From daf5e198f9c2ca9e2cf4513e819bca64d362ebc7 Mon Sep 17 00:00:00 2001 From: Alexander Bantyev Date: Tue, 17 Oct 2023 17:50:24 +0400 Subject: [PATCH] Remove scala example, since it does not build anymore --- examples/scala/minimal/default.nix | 5 ---- examples/scala/minimal/test.ipynb | 47 ------------------------------ examples/scala/minimal/test.py | 15 ---------- 3 files changed, 67 deletions(-) delete mode 100644 examples/scala/minimal/default.nix delete mode 100644 examples/scala/minimal/test.ipynb delete mode 100644 examples/scala/minimal/test.py diff --git a/examples/scala/minimal/default.nix b/examples/scala/minimal/default.nix deleted file mode 100644 index 611803bd..00000000 --- a/examples/scala/minimal/default.nix +++ /dev/null @@ -1,5 +0,0 @@ -{pkgs, ...}: { - kernel.scala.minimal-example = { - enable = true; - }; -} diff --git a/examples/scala/minimal/test.ipynb b/examples/scala/minimal/test.ipynb deleted file mode 100644 index c2c97647..00000000 --- a/examples/scala/minimal/test.ipynb +++ /dev/null @@ -1,47 +0,0 @@ -{ - "cells": [ - { - "cell_type": "code", - "execution_count": 1, - "id": "49bf3a4f-602b-4a1b-bd47-50c57a1985d5", - "metadata": {}, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "hello scala\n" - ] - } - ], - "source": [ - "println(\"hello scala\")" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "444374eb-2e7c-4d6d-ae2e-0aac0c927d68", - "metadata": {}, - "outputs": [], - "source": [] - } - ], - "metadata": { - "kernelspec": { - "display_name": "Example Scala Kernel", - "language": "scala", - "name": "example_scala" - }, - "language_info": { - "codemirror_mode": "text/x-scala", - "file_extension": ".sc", - "mimetype": "text/x-scala", - "name": "scala", - "nbconvert_exporter": "script", - "version": "2.13.8" - } - }, - "nbformat": 4, - "nbformat_minor": 5 -} diff --git a/examples/scala/minimal/test.py b/examples/scala/minimal/test.py deleted file mode 100644 index c2080843..00000000 --- a/examples/scala/minimal/test.py +++ /dev/null @@ -1,15 +0,0 @@ -import os -from testbook import testbook - -current_dir = os.path.dirname(os.path.abspath(__file__)) - -@testbook(f'{current_dir}/test.ipynb', execute=True, kernel_name="scala-minimal-example") -def test_nb(tb): - result = tb.cell_output_text(0) - print("Output:") - print(result) - assert result == "hello scala" - -if __name__ == '__main__': - test_nb() -