Don't try to create the directory if it already exists, otherwise the test fails
This commit is contained in:
parent
90ee7eb18e
commit
a0e0cd3013
|
@ -66,6 +66,7 @@ except:
|
|||
|
||||
class GettextBaseTest(unittest.TestCase):
|
||||
def setUp(self):
|
||||
if not os.path.isdir(LOCALEDIR):
|
||||
os.makedirs(LOCALEDIR)
|
||||
fp = open(MOFILE, 'wb')
|
||||
fp.write(base64.decodestring(GNU_MO_DATA))
|
||||
|
|
Loading…
Reference in New Issue