Changeset 574adc7 in sasview for test/sasdataloader/test/utest_abs_reader.py
- Timestamp:
- Sep 22, 2017 2:01:32 PM (7 years ago)
- 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, magnetic_scatt, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- 34d7b35
- Parents:
- 9706d88
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
test/sasdataloader/test/utest_abs_reader.py
rae69c690 r574adc7 224 224 _found2 = True 225 225 226 if _found1 == False or _found2 == False: 227 raise RuntimeError, "Could not find all data %s %s" % (_found1, _found2) 226 if not _found1 or not _found2: 227 raise RuntimeError("Could not find all data %s %s" 228 % (_found1, _found2)) 228 229 229 230 # Detector … … 269 270 _found_term1 = True 270 271 271 if _found_term1 == False or _found_term2 == False: 272 raise RuntimeError, "Could not find all process terms %s %s" % (_found_term1, _found_term2) 272 if not _found_term1 or not _found_term2: 273 raise RuntimeError("Could not find all process terms %s %s" 274 % (_found_term1, _found_term2)) 273 275 274 276 def test_writer(self):
Note: See TracChangeset
for help on using the changeset viewer.