summaryrefslogtreecommitdiff
path: root/factory/fuzzy.py
diff options
context:
space:
mode:
Diffstat (limited to 'factory/fuzzy.py')
-rw-r--r--factory/fuzzy.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/factory/fuzzy.py b/factory/fuzzy.py
index 0137ba9..564264e 100644
--- a/factory/fuzzy.py
+++ b/factory/fuzzy.py
@@ -289,10 +289,10 @@ class FuzzyDateTime(BaseFuzzyDateTime):
def _check_bounds(self, start_dt, end_dt):
if start_dt.tzinfo is None:
raise ValueError(
- "FuzzyDateTime only handles aware datetimes, got start=%r"
+ "FuzzyDateTime requires timezone-aware datetimes, got start=%r"
% start_dt)
if end_dt.tzinfo is None:
raise ValueError(
- "FuzzyDateTime only handles aware datetimes, got end=%r"
+ "FuzzyDateTime requires timezone-aware datetimes, got end=%r"
% end_dt)
super(FuzzyDateTime, self)._check_bounds(start_dt, end_dt)