summaryrefslogtreecommitdiffstats
path: root/Lib/datetime.py
diff options
context:
space:
mode:
authorUtkarsh Upadhyay <mail@musicallyut.in>2017-07-26 11:49:16 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2017-07-26 11:49:16 (GMT)
commitc52cea49544621b612c7f17f45a0c2b8b61a6c67 (patch)
tree523ddcf1b1a8e0d9a101c1cf9e3b1013cf698c1d /Lib/datetime.py
parent0dbfab2ac7398d5d8f7e93a024a3bc866f5dd472 (diff)
downloadcpython-c52cea49544621b612c7f17f45a0c2b8b61a6c67.zip
cpython-c52cea49544621b612c7f17f45a0c2b8b61a6c67.tar.gz
cpython-c52cea49544621b612c7f17f45a0c2b8b61a6c67.tar.bz2
[3.6] bpo-30822: Fix testing of datetime module. (GH-2530) (GH-2783) (#2816)
* [3.6] bpo-30822: Fix testing of datetime module. (GH-2530) (GH-2783) Only C implementation was tested. (cherry picked from commit 287c5594edc1ca08db64d1f4739cc36bfe75ae75) * [3.6] bpo-30822: Fix testing of datetime module. (GH-2530) (GH-2783) Only C implementation was tested.. (cherry picked from commit 287c5594edc1ca08db64d1f4739cc36bfe75ae75)
Diffstat (limited to 'Lib/datetime.py')
-rw-r--r--Lib/datetime.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/datetime.py b/Lib/datetime.py
index 5d5579c..b95536f 100644
--- a/Lib/datetime.py
+++ b/Lib/datetime.py
@@ -2271,7 +2271,8 @@ else:
_check_tzinfo_arg, _check_tzname, _check_utc_offset, _cmp, _cmperror,
_date_class, _days_before_month, _days_before_year, _days_in_month,
_format_time, _is_leap, _isoweek1monday, _math, _ord2ymd,
- _time, _time_class, _tzinfo_class, _wrap_strftime, _ymd2ord)
+ _time, _time_class, _tzinfo_class, _wrap_strftime, _ymd2ord,
+ _divide_and_round)
# XXX Since import * above excludes names that start with _,
# docstring does not get overwritten. In the future, it may be
# appropriate to maintain a single module level docstring and