1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Removed default mode='r' argument from calls to open().

This commit is contained in:
Jon Dufresne
2019-01-27 08:30:20 -08:00
committed by Tim Graham
parent ce7293bc91
commit 7e3bf2662b
11 changed files with 43 additions and 43 deletions

View File

@@ -38,7 +38,7 @@ class ExtractingStringsWithPercentSigns(POFileAssertionMixin, FrenchTestCase):
def setUp(self):
super().setUp()
with open(self.PO_FILE, 'r') as fp:
with open(self.PO_FILE) as fp:
self.po_contents = fp.read()
def test_trans_tag_with_percent_symbol_at_the_end(self):