Skip to content

Commit

Permalink
Update.
Browse files Browse the repository at this point in the history
  • Loading branch information
takkii committed Oct 25, 2023
1 parent 985ac90 commit 5ed1c77
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions unit_test_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@ def tearDown(self):
self.checker.version()
print("tearDown", id(self))

# Python Version: (3.x) < 4.0
# Python Version: 3.x == 3.x
def test_check_major(self):
py_major: Optional[int] = sys.version_info[0]
major_calc = int(py_major)
set_major = int(4)
set_major = int(3)
print("test_check_major", id(self))
self.assertLess(major_calc, set_major)
self.assertEqual(major_calc, set_major)

# Python Version: (x.11 or x.10) > 4
# Python Version: (x.11 or x.10) > x.4
def test_check_minor(self):
py_minor: Optional[int] = sys.version_info[1]
minor_calc = int(py_minor)
Expand Down

0 comments on commit 5ed1c77

Please sign in to comment.