Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
maciejskorski committed May 6, 2023
1 parent 2a0e3df commit 9e2c3c9
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions tests/test_jupyter_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,13 @@


class TestJupyterServer(unittest.TestCase):


def test_version(self):
from packaging.version import parse as parse_version
from importlib.metadata import version as pckg_version
self.assertTrue(parse_version(pckg_version('jupyter_server')) >= parse_version('2.0'))


self.assertTrue(parse_version(pckg_version("jupyter_server")) >= parse_version("2.0"))

def test_terminals(self):
import jupyter_server_terminals


self.assertTrue(hasattr(jupyter_server_terminals, "version_info"))

0 comments on commit 9e2c3c9

Please sign in to comment.