@@ -271,7 +271,7 @@ def callable_formatting_function(dates, _):
271271 (datetime .timedelta (weeks = 52 * 200 ),
272272 [r'$\mathdefault{%d}$' % (year ,) for year in range (1990 , 2171 , 20 )]),
273273 (datetime .timedelta (days = 30 ),
274- [r'$\mathdefault{Jan %02d 1990}$' % (day ,) for day in range (1 , 32 , 3 )]),
274+ [r'Jan $\mathdefault{ %02d 1990}$' % (day ,) for day in range (1 , 32 , 3 )]),
275275 (datetime .timedelta (hours = 20 ),
276276 [r'$\mathdefault{%02d:00:00}$' % (hour ,) for hour in range (0 , 21 , 2 )]),
277277])
@@ -550,15 +550,15 @@ def test_concise_formatter_show_offset(t_delta, expected):
550550 (datetime .timedelta (weeks = 52 * 200 ),
551551 ['$\\ mathdefault{%d}$' % (t , ) for t in range (1980 , 2201 , 20 )]),
552552 (datetime .timedelta (days = 40 ),
553- ['$ \\ mathdefault{ Jan}$ ' , '$\\ mathdefault{05}$' , '$\\ mathdefault{09}$' ,
553+ ['Jan' , '$\\ mathdefault{05}$' , '$\\ mathdefault{09}$' ,
554554 '$\\ mathdefault{13}$' , '$\\ mathdefault{17}$' , '$\\ mathdefault{21}$' ,
555- '$\\ mathdefault{25}$' , '$\\ mathdefault{29}$' , '$ \\ mathdefault{ Feb}$ ' ,
555+ '$\\ mathdefault{25}$' , '$\\ mathdefault{29}$' , 'Feb' ,
556556 '$\\ mathdefault{05}$' , '$\\ mathdefault{09}$' ]),
557557 (datetime .timedelta (hours = 40 ),
558- ['$\\ mathdefault{Jan {-}01}$' , '$\\ mathdefault{04:00}$' ,
558+ ['Jan $\\ mathdefault{{-}01}$' , '$\\ mathdefault{04:00}$' ,
559559 '$\\ mathdefault{08:00}$' , '$\\ mathdefault{12:00}$' ,
560560 '$\\ mathdefault{16:00}$' , '$\\ mathdefault{20:00}$' ,
561- '$\\ mathdefault{Jan {-}02}$' , '$\\ mathdefault{04:00}$' ,
561+ 'Jan $\\ mathdefault{{-}02}$' , '$\\ mathdefault{04:00}$' ,
562562 '$\\ mathdefault{08:00}$' , '$\\ mathdefault{12:00}$' ,
563563 '$\\ mathdefault{16:00}$' ]),
564564 (datetime .timedelta (seconds = 2 ),
0 commit comments