aboutsummaryrefslogtreecommitdiff
path: root/tests/models/custom_types
diff options
context:
space:
mode:
authorMax Nanis2026-08-24 17:12:54 -0700
committerMax Nanis2026-08-24 17:12:54 -0700
commit5682f48a96b0713929a4bb52e72eec5907d5dd32 (patch)
tree3e5ba728145cf69f4ea0fde48e630b341c164cd0 /tests/models/custom_types
parent979efd01b0c61d493d1fef3dff9885f5d38a8975 (diff)
downloadgeneralresearch-5682f48a96b0713929a4bb52e72eec5907d5dd32.tar.gz
generalresearch-5682f48a96b0713929a4bb52e72eec5907d5dd32.zip
pytest fixture annotations, ruf manual edits
Diffstat (limited to 'tests/models/custom_types')
-rw-r--r--tests/models/custom_types/test_aware_datetime.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/models/custom_types/test_aware_datetime.py b/tests/models/custom_types/test_aware_datetime.py
index 7c45710..e8a5aa3 100644
--- a/tests/models/custom_types/test_aware_datetime.py
+++ b/tests/models/custom_types/test_aware_datetime.py
@@ -42,7 +42,7 @@ class TestAwareDatetimeISO:
AwareDatetimeISOModel.model_validate_json(t.model_dump_json())
def test_no_tz(self):
- dt = datetime(2023, 10, 10, 1, 1, 1)
+ dt = datetime(2023, 10, 10, 1, 1, 1) # noqa
with pytest.raises(expected_exception=ValidationError):
AwareDatetimeISOModel(dt=dt, dt_optional=None)