Skip to content

Commit 84808a1

Browse files
committed
make compatible with older Python versions
1 parent d7f6b9c commit 84808a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adaptive/runner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -876,7 +876,7 @@ def __call__(self, _):
876876
elif isinstance(self.dt, datetime):
877877
return datetime.now() > self.dt
878878
else:
879-
raise TypeError(f"{self.dt=} is not a datetime or timedelta.")
879+
raise TypeError(f"`dt={self.dt}` is not a datetime or timedelta.")
880880

881881

882882
def auto_goal(

0 commit comments

Comments
 (0)