Skip to content

Commit

Permalink
Disable test that doesn't work in 3.8 and below
Browse files Browse the repository at this point in the history
  • Loading branch information
acbart committed Mar 19, 2024
1 parent 7ecd237 commit 3d50935
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_assertion_dataclasses.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from pedal.assertions.commands import *
from pedal.assertions.runtime import *
from pedal.types.new_types import DictType, LiteralStr, StrType
from pedal.utilities.system import IS_AT_LEAST_PYTHON_38
from pedal.utilities.system import IS_AT_LEAST_PYTHON_39
from tests.execution_helper import Execution, ExecutionTestCase, SUCCESS_MESSAGE


Expand Down Expand Up @@ -99,7 +99,7 @@ class Dog:
self.assertFeedback(e, """Incorrect Arity
The constructor function Dog was given the wrong number of arguments. You should have had 2 arguments, but instead you had 1 arguments.""")

@unittest.skipIf(not IS_AT_LEAST_PYTHON_38, "Cannot subscript literals in Python 3.7")
@unittest.skipIf(not IS_AT_LEAST_PYTHON_39, "Cannot subscript literals in Python 3.7")
def test_weird_forecast_issue(self):
@dataclass
class WeatherOptions:
Expand Down

0 comments on commit 3d50935

Please sign in to comment.