We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b50c092 commit 9c25300Copy full SHA for 9c25300
tests/test_cursor.py
@@ -8,6 +8,8 @@
8
3. Unknown parameter keys raise ProgrammingError.
9
"""
10
11
+from datetime import date
12
+
13
import pytest
14
from unittest.mock import MagicMock
15
@@ -74,8 +76,6 @@ def test_empty_bytes(self):
74
76
75
77
def test_non_primitive_uses_str(self):
78
"""Non-primitive types fall through to str() and get quoted as strings."""
- from datetime import date
-
79
assert _quote_value(date(2024, 1, 15)) == "'2024-01-15'"
80
81
def test_nan_raises(self):
0 commit comments