Skip to content

Commit

Permalink
minor cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Build Team committed May 10, 2024
1 parent 4878669 commit 28c4061
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions okonomiyaki/runtimes/tests/test_runtime.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ def test_simple_from_running_python(self):

@unittest.skipIf(
hasattr(sys, "pypy_version_info"),
"This test is only supported on cpython"
)
"This test is only supported on cpython")
def test_from_prefix_and_platform(self):
# Given
prefix = u"/usr/local"
Expand All @@ -34,8 +33,7 @@ def test_from_prefix_and_platform(self):

# When
runtime = PythonRuntime.from_prefix_and_platform(
prefix, platform, version
)
prefix, platform, version)
runtime_info = runtime._runtime_info

# Then
Expand All @@ -56,8 +54,7 @@ def test_from_prefix_and_platform(self):

# When
runtime = PythonRuntime.from_prefix_and_platform(
prefix, platform, version
)
prefix, platform, version)

# Then
self.assertEqual(runtime.prefix, prefix)
Expand All @@ -73,8 +70,7 @@ def test_from_prefix_and_platform(self):

# When
runtime = PythonRuntime.from_prefix_and_platform(
prefix, platform, version
)
prefix, platform, version)

# Then
self.assertEqual(runtime.prefix, prefix)
Expand All @@ -91,8 +87,7 @@ def test_normalization(self):

# When
runtime_info = PythonRuntime.from_prefix_and_platform(
prefix, platform, version
)
prefix, platform, version)

# Then
self.assertEqual(runtime_info.prefix, norm_prefix)
Expand Down

0 comments on commit 28c4061

Please sign in to comment.