Changeset 861f1880 in sasview for test


Ignore:
Timestamp:
Apr 7, 2017 1:41:14 AM (8 years ago)
Author:
GitHub <noreply@…>
Branches:
master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
fca1f50, f3707b9f, 643dcd93, fd5d8747
Parents:
bb81385 (diff), 6435594 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
git-author:
Paul Kienzle <pkienzle@…> (04/07/17 01:41:14)
git-committer:
GitHub <noreply@…> (04/07/17 01:41:14)
Message:

Merge pull request #64 from andyfaff/has_key

MAINT: remove has_key occurrences

Location:
test
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • test/sasdataloader/test/testplugings.py

    rb699768 rf3bf622  
    3232        output = self.L.load('test_data.test') 
    3333        self.assertEqual(output.x[0], 1234.) 
    34         self.assertTrue(self.L.loaders.has_key('.test')) 
     34        self.assertTrue('.test' in self.L.loaders) 
    3535         
    3636class testZip(unittest.TestCase): 
     
    6161        output = self.L.load('test_data.test') 
    6262        self.assertEqual(output.x[0], 1234.) 
    63         self.assertTrue(self.L.loaders.has_key('.test')) 
     63        self.assertTrue('.test' in self.L.loaders) 
    6464         
    6565         
Note: See TracChangeset for help on using the changeset viewer.