mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-07 01:14:15 +02:00
[tests] fix: test breaking when system LANG=C
This commit is contained in:
@@ -8,7 +8,7 @@ class GetHumanSizeStrTest(TestCase):
|
||||
|
||||
def setUp(self):
|
||||
try:
|
||||
locale.setlocale(locale.LC_NUMERIC, None)
|
||||
locale.setlocale(locale.LC_NUMERIC, "C")
|
||||
except:
|
||||
print("Error: could not set locale.LC_NUMERIC to None")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user