Skip to content

Commit 22b0ae4

Browse files
author
Sylvain MARIE
committed
Fixed pandas-dev#46319 by adding a new char_to_string_locale function in the tslibs.util module, able to decode char* using the current locale.
1 parent e5f3062 commit 22b0ae4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/io/formats/test_format.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -3235,7 +3235,7 @@ def test_period_tz(self):
32353235
assert per.format()[0] == "2013-01-01 00:00"
32363236

32373237
def test_period_custom_locale(self, overridden_locale):
3238-
# GH#46319 locale-specific formatting directive leads to non-utf8 str result
3238+
# GH#46319 locale-specific directive leads to non-utf8 c strftime char* result
32393239

32403240
# Get locale-specific reference
32413241
am_local, pm_local = get_local_am_pm()

0 commit comments

Comments
 (0)