File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 1010class TransactionTest (unittest .TestCase ):
1111 def setUp (self ):
1212 dir_path = os .path .dirname (os .path .realpath (__file__ ))
13- with open ('{}/../../sample_data/transactionDetail.json' .format (dir_path )) as data_file :
13+ with open ('{}/../../sample_data/transactionDetail.json' .format (dir_path ), encoding = 'utf_8_sig' ) as data_file :
1414 self ._transaction_detail = json .loads (data_file .read ())
1515
1616 def test_from_raw (self ):
Original file line number Diff line number Diff line change 1010class TransactionTest (unittest .TestCase ):
1111 def setUp (self ):
1212 dir_path = os .path .dirname (os .path .realpath (__file__ ))
13- with open ('{}/../../sample_data/rq_client-response.json' .format (dir_path )) as data_file :
13+ with open ('{}/../../sample_data/rq_client-response.json' .format (dir_path ), encoding = 'utf_8_sig' ) as data_file :
1414 self ._transaction_detail = json .loads (data_file .read ())
1515
1616 def test_from_raw (self ):
You can’t perform that action at this time.
0 commit comments