8000 got rid of unnessessary test cases · matplotlib/matplotlib@b880979 · GitHub
[go: up one dir, main page]

Skip to content

Commit b880979

Browse files
committed
got rid of unnessessary test cases
1 parent c4b747a commit b880979

File tree

1 file changed

+1
-20
lines changed

1 file changed

+1
-20
lines changed

lib/matplotlib/tests/test_dates.py

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -527,26 +527,7 @@ def _create_auto_date_locator(date1, date2, tz):
527527
return sts, ax.yaxis.get_offset_text().get_text()
528528

529529
d1 = datetime.datetime(1997, 1, 1).replace(tzinfo=datetime.timezone.utc)
530-
results = ([datetime.timedelta(weeks=52 * 200),
531-
[str(t) for t in range(1980, 2201, 20)],
532-
""
533-
],
534-
[datetime.timedelta(weeks=52),
535-
['1997', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug',
536-
'Sep', 'Oct', 'Nov', 'Dec'],
537-
"1997"
538-
],
539-
[datetime.timedelta(days=141),
540-
['Jan', '22', 'Feb', '22', 'Mar', '22', 'Apr', '22',
541-
'May', '22'],
542-
"1997-May"
543-
],
544-
[datetime.timedelta(days=40),
545-
['Jan', '05', '09', '13', '17', '21', '25', '29', 'Feb',
546-
'05', '09'],
547-
"1997-Feb"
548-
],
549-
[datetime.timedelta(hours=40),
530+
results = ([datetime.timedelta(hours=40),
550531
['03:00', '07:00', '11:00', '15:00', '19:00', '23:00',
551532
'03:00', '07:00', '11:00', '15:00', '19:00'],
552533
"1997-Jan-02"

0 commit comments

Comments
 (0)
0